Class: BlockScore::Dispatch

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/blockscore/dispatch.rb

Instance Method Summary collapse

Constructor Details

#initialize(resource, response) ⇒ Dispatch

Returns a new instance of Dispatch.



7
8
9
# File 'lib/blockscore/dispatch.rb', line 7

def initialize(resource, response)
  @fingerprint = Fingerprint.new(resource, response.body)
end

Instance Method Details

#callObject



11
12
13
# File 'lib/blockscore/dispatch.rb', line 11

def call
  Util.send(builder, resource, data)
end