Class: BlockScore::Dispatch
- Inherits:
-
Object
- Object
- BlockScore::Dispatch
- Extended by:
- Forwardable
- Defined in:
- lib/blockscore/dispatch.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(resource, response) ⇒ Dispatch
constructor
A new instance of Dispatch.
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
#call ⇒ Object
11 12 13 |
# File 'lib/blockscore/dispatch.rb', line 11 def call Util.send(builder, resource, data) end |