Class: NasaApi::ResponseHandler::MarsInsight

Inherits:
Object
  • Object
show all
Defined in:
lib/nasa_api/response_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response = {}) ⇒ MarsInsight

Returns a new instance of MarsInsight.



152
153
154
155
156
# File 'lib/nasa_api/response_handler.rb', line 152

def initialize(response = {})
  @response = response
  @sol_keys = response['sol_keys']
  @validity_checks = response['validity_checks']
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



150
151
152
# File 'lib/nasa_api/response_handler.rb', line 150

def response
  @response
end

#sol_keysObject

Returns the value of attribute sol_keys.



150
151
152
# File 'lib/nasa_api/response_handler.rb', line 150

def sol_keys
  @sol_keys
end

#validity_checksObject

Returns the value of attribute validity_checks.



150
151
152
# File 'lib/nasa_api/response_handler.rb', line 150

def validity_checks
  @validity_checks
end