module Neows::REST::Neo

Public Instance Methods

browse() click to toggle source

Find other Near Earth Objects

@return [Neows::Models::Browse]

# File lib/neows/rest/neo.rb, line 21
def browse
  perform_get('/neo/browse', Neows::Models::Browse)
end
neo(neo_reference_id) click to toggle source

A single Near Earth Object by id

@param neo_reference_id [String|Integer] @return [Neows::Models::NearEarthObject]

# File lib/neows/rest/neo.rb, line 14
def neo(neo_reference_id)
  perform_get("/neo/#{neo_reference_id}", Neows::Models::NearEarthObject)
end