Class: TonClient::TonBinding::Response
- Defined in:
- lib/everscale-client-ruby/Binding/binding.rb
Instance Attribute Summary collapse
-
#custom_response ⇒ Object
Returns the value of attribute custom_response.
-
#error ⇒ Object
Returns the value of attribute error.
-
#finished ⇒ Object
Returns the value of attribute finished.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
-
#response_type ⇒ Object
Returns the value of attribute response_type.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(request_id, string_data, response_type, finished) ⇒ Response
constructor
A new instance of Response.
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_response ⇒ Object
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 |
#error ⇒ Object
Returns the value of attribute error.
4 5 6 |
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4 def error @error end |
#finished ⇒ Object
Returns the value of attribute finished.
4 5 6 |
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4 def finished @finished end |
#request_id ⇒ Object
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_type ⇒ Object
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 |
#result ⇒ Object
Returns the value of attribute result.
4 5 6 |
# File 'lib/everscale-client-ruby/Binding/binding.rb', line 4 def result @result end |