Module: Neows::REST::Neo
Instance Method Summary collapse
-
#browse ⇒ Neows::Models::Browse
Find other Near Earth Objects.
-
#neo(neo_reference_id) ⇒ Neows::Models::NearEarthObject
A single Near Earth Object by id.
Instance Method Details
#browse ⇒ Neows::Models::Browse
Find other Near Earth Objects
21 22 23 |
# File 'lib/neows/rest/neo.rb', line 21 def browse perform_get('/neo/browse', Neows::Models::Browse) end |
#neo(neo_reference_id) ⇒ Neows::Models::NearEarthObject
A single Near Earth Object by id
14 15 16 |
# File 'lib/neows/rest/neo.rb', line 14 def neo(neo_reference_id) perform_get("/neo/#{neo_reference_id}", Neows::Models::NearEarthObject) end |