Class: Invofox::Response
- Inherits:
-
Object
- Object
- Invofox::Response
- Defined in:
- lib/invofox/response.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result:, account: nil, environment: nil) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(result:, account: nil, environment: nil) ⇒ Response
Returns a new instance of Response.
4 5 6 7 8 |
# File 'lib/invofox/response.rb', line 4 def initialize(result:, account: nil, environment: nil) @result = result @account = account @environment = environment end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
2 3 4 |
# File 'lib/invofox/response.rb', line 2 def account @account end |
#environment ⇒ Object
Returns the value of attribute environment.
2 3 4 |
# File 'lib/invofox/response.rb', line 2 def environment @environment end |
#result ⇒ Object
Returns the value of attribute result.
2 3 4 |
# File 'lib/invofox/response.rb', line 2 def result @result end |