Class: Phoebe::Resources::Data

Inherits:
Object
  • Object
show all
Defined in:
lib/phoebe/resources/data.rb,
lib/phoebe/resources/data/observations.rb,
lib/phoebe/resources/data/observations/geo.rb,
lib/phoebe/resources/data/observations/recent.rb,
lib/phoebe/resources/data/observations/nearest.rb,
lib/phoebe/resources/data/observations/geo/recent.rb,
lib/phoebe/resources/data/observations/recent/notable.rb,
lib/phoebe/resources/data/observations/recent/species.rb,
lib/phoebe/resources/data/observations/recent/historic.rb,
lib/phoebe/resources/data/observations/geo/recent/notable.rb,
lib/phoebe/resources/data/observations/geo/recent/species.rb,
lib/phoebe/resources/data/observations/nearest/geo_species.rb

Defined Under Namespace

Classes: Observations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Data

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Data.

Parameters:



12
13
14
15
# File 'lib/phoebe/resources/data.rb', line 12

def initialize(client:)
  @client = client
  @observations = Phoebe::Resources::Data::Observations.new(client: client)
end

Instance Attribute Details

#observationsPhoebe::Resources::Data::Observations (readonly)



7
8
9
# File 'lib/phoebe/resources/data.rb', line 7

def observations
  @observations
end