class Alephant::Publisher::Request::DataMapper
Attributes
connection[R]
context[R]
Public Class Methods
new(connection, context = {})
click to toggle source
# File lib/alephant/publisher/request/data_mapper.rb, line 9 def initialize(connection, context = {}) @connection = connection @context = context end
Public Instance Methods
data()
click to toggle source
# File lib/alephant/publisher/request/data_mapper.rb, line 14 def data raise NotImplementedError end
Protected Instance Methods
get(uri)
click to toggle source
# File lib/alephant/publisher/request/data_mapper.rb, line 20 def get(uri) connection.get uri end