Method: Typhoeus::RemoteMethod#call_response_blocks
- Defined in:
- lib/typhoeus/remote_method.rb
#call_response_blocks(result, args, options) ⇒ Object
44 45 46 47 48 49 |
# File 'lib/typhoeus/remote_method.rb', line 44 def call_response_blocks(result, args, ) key = (args, ) @response_blocks[key].each {|block| block.call(result)} @response_blocks.delete(key) @called_methods.delete(key) end |