Class: Phoebe::Resources::Ref::Taxonomy

Inherits:
Object
  • Object
show all
Defined in:
lib/phoebe/resources/ref/taxonomy.rb,
lib/phoebe/resources/ref/taxonomy/ebird.rb,
lib/phoebe/resources/ref/taxonomy/forms.rb,
lib/phoebe/resources/ref/taxonomy/locales.rb,
lib/phoebe/resources/ref/taxonomy/versions.rb,
lib/phoebe/resources/ref/taxonomy/species_groups.rb

Defined Under Namespace

Classes: Ebird, Forms, Locales, SpeciesGroups, Versions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Taxonomy

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 Taxonomy.

Parameters:



25
26
27
28
29
30
31
32
# File 'lib/phoebe/resources/ref/taxonomy.rb', line 25

def initialize(client:)
  @client = client
  @ebird = Phoebe::Resources::Ref::Taxonomy::Ebird.new(client: client)
  @forms = Phoebe::Resources::Ref::Taxonomy::Forms.new(client: client)
  @locales = Phoebe::Resources::Ref::Taxonomy::Locales.new(client: client)
  @versions = Phoebe::Resources::Ref::Taxonomy::Versions.new(client: client)
  @species_groups = Phoebe::Resources::Ref::Taxonomy::SpeciesGroups.new(client: client)
end

Instance Attribute Details

#ebirdPhoebe::Resources::Ref::Taxonomy::Ebird (readonly)



8
9
10
# File 'lib/phoebe/resources/ref/taxonomy.rb', line 8

def ebird
  @ebird
end

#formsPhoebe::Resources::Ref::Taxonomy::Forms (readonly)



11
12
13
# File 'lib/phoebe/resources/ref/taxonomy.rb', line 11

def forms
  @forms
end

#localesPhoebe::Resources::Ref::Taxonomy::Locales (readonly)



14
15
16
# File 'lib/phoebe/resources/ref/taxonomy.rb', line 14

def locales
  @locales
end

#species_groupsPhoebe::Resources::Ref::Taxonomy::SpeciesGroups (readonly)



20
21
22
# File 'lib/phoebe/resources/ref/taxonomy.rb', line 20

def species_groups
  @species_groups
end

#versionsPhoebe::Resources::Ref::Taxonomy::Versions (readonly)



17
18
19
# File 'lib/phoebe/resources/ref/taxonomy.rb', line 17

def versions
  @versions
end