Module: Neows::REST::Neo

Includes:
Utils
Included in:
API
Defined in:
lib/neows/rest/neo.rb

Instance Method Summary collapse

Instance Method Details

#browseNeows::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