Class: NasaApi::ResponseHandler::MarsInsight
- Inherits:
-
Object
- Object
- NasaApi::ResponseHandler::MarsInsight
- Defined in:
- lib/nasa_api/response_handler.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
-
#sol_keys ⇒ Object
Returns the value of attribute sol_keys.
-
#validity_checks ⇒ Object
Returns the value of attribute validity_checks.
Instance Method Summary collapse
-
#initialize(response = {}) ⇒ MarsInsight
constructor
A new instance of MarsInsight.
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
#response ⇒ Object
Returns the value of attribute response.
150 151 152 |
# File 'lib/nasa_api/response_handler.rb', line 150 def response @response end |
#sol_keys ⇒ Object
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_checks ⇒ Object
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 |