Class: ExploreMars::SolQuery
Constant Summary
Constants inherited from Call
Instance Attribute Summary collapse
-
#camera ⇒ Object
Returns the value of attribute camera.
-
#rover ⇒ Object
Returns the value of attribute rover.
-
#sol ⇒ Object
Returns the value of attribute sol.
Instance Method Summary collapse
- #build_uri ⇒ Object
-
#initialize(rover, sol, camera = nil) ⇒ SolQuery
constructor
A new instance of SolQuery.
Methods inherited from Call
Constructor Details
#initialize(rover, sol, camera = nil) ⇒ SolQuery
Returns a new instance of SolQuery.
4 5 6 7 8 |
# File 'lib/explore_mars/sol_query.rb', line 4 def initialize(rover, sol, camera=nil) @sol = sol @camera = camera.to_s.upcase @rover = rover end |
Instance Attribute Details
#camera ⇒ Object
Returns the value of attribute camera.
3 4 5 |
# File 'lib/explore_mars/sol_query.rb', line 3 def camera @camera end |
#rover ⇒ Object
Returns the value of attribute rover.
3 4 5 |
# File 'lib/explore_mars/sol_query.rb', line 3 def rover @rover end |
#sol ⇒ Object
Returns the value of attribute sol.
3 4 5 |
# File 'lib/explore_mars/sol_query.rb', line 3 def sol @sol end |