Class: Phoebe::Resources::Data
- Inherits:
-
Object
- Object
- Phoebe::Resources::Data
- 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
-
#initialize(client:) ⇒ Data
constructor
private
A new instance of Data.
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.
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
#observations ⇒ Phoebe::Resources::Data::Observations (readonly)
7 8 9 |
# File 'lib/phoebe/resources/data.rb', line 7 def observations @observations end |