Class: ExploreMars::DateQuery
- Defined in:
- lib/explore_mars/date_query.rb
Constant Summary
Constants inherited from Call
Instance Attribute Summary collapse
-
#camera ⇒ Object
Returns the value of attribute camera.
-
#date ⇒ Object
Returns the value of attribute date.
-
#rover ⇒ Object
Returns the value of attribute rover.
Instance Method Summary collapse
- #build_uri ⇒ Object
-
#initialize(rover, date, camera = nil) ⇒ DateQuery
constructor
A new instance of DateQuery.
Methods inherited from Call
Constructor Details
#initialize(rover, date, camera = nil) ⇒ DateQuery
Returns a new instance of DateQuery.
5 6 7 8 9 |
# File 'lib/explore_mars/date_query.rb', line 5 def initialize(rover, date, camera=nil) @date = date @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/date_query.rb', line 3 def camera @camera end |
#date ⇒ Object
Returns the value of attribute date.
3 4 5 |
# File 'lib/explore_mars/date_query.rb', line 3 def date @date end |
#rover ⇒ Object
Returns the value of attribute rover.
3 4 5 |
# File 'lib/explore_mars/date_query.rb', line 3 def rover @rover end |