Class: Invofox::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/invofox/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = 
  @environment = environment
end

Instance Attribute Details

#accountObject

Returns the value of attribute account.



2
3
4
# File 'lib/invofox/response.rb', line 2

def 
  @account
end

#environmentObject

Returns the value of attribute environment.



2
3
4
# File 'lib/invofox/response.rb', line 2

def environment
  @environment
end

#resultObject

Returns the value of attribute result.



2
3
4
# File 'lib/invofox/response.rb', line 2

def result
  @result
end