class Foxtrot::Response::PendingResponse

Public Class Methods

new(endpoint, resp, api_instance) click to toggle source
Calls superclass method Foxtrot::Response::Response::new
# File lib/foxtrot/response.rb, line 64
def initialize(endpoint, resp, api_instance)
  super
  @txid = resp['txid']
end

Public Instance Methods

complete?() click to toggle source
# File lib/foxtrot/response.rb, line 69
def complete?
  false
end
get_result() click to toggle source
# File lib/foxtrot/response.rb, line 77
def get_result
  nil
end
poll!() click to toggle source
# File lib/foxtrot/response.rb, line 73
def poll!
  @api_instance.poll! @endpoint, @txid
end
to_s() click to toggle source
# File lib/foxtrot/response.rb, line 81
def to_s
  "PendingResponse (#{@txid})"
end