Class: TonClient::TonBinding::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/everscale-client-ruby/Binding/binding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_id, string_data, response_type, finished) ⇒ Response

Returns a new instance of Response.



6
7
8
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 6

def initialize(request_id, string_data, response_type, finished)
  update(request_id, string_data, response_type, finished)
end

Instance Attribute Details

#custom_responseObject

Returns the value of attribute custom_response.



4
5
6
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4

def custom_response
  @custom_response
end

#errorObject

Returns the value of attribute error.



4
5
6
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4

def error
  @error
end

#finishedObject

Returns the value of attribute finished.



4
5
6
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4

def finished
  @finished
end

#request_idObject

Returns the value of attribute request_id.



4
5
6
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4

def request_id
  @request_id
end

#response_typeObject

Returns the value of attribute response_type.



4
5
6
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4

def response_type
  @response_type
end

#resultObject

Returns the value of attribute result.



4
5
6
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4

def result
  @result
end