Class: SolidusGraphqlApi::Types::Taxonomy

Inherits:
Base::RelayNode show all
Defined in:
lib/solidus_graphql_api/types/taxonomy.rb

Instance Method Summary collapse

Methods inherited from Base::Object

remove_field

Instance Method Details

#root_taxonObject



14
15
16
# File 'lib/solidus_graphql_api/types/taxonomy.rb', line 14

def root_taxon
  Queries::Taxonomy::RootTaxonQuery.new(taxonomy: object).call
end

#taxonsObject



18
19
20
# File 'lib/solidus_graphql_api/types/taxonomy.rb', line 18

def taxons
  Queries::Taxonomy::TaxonsQuery.new(taxonomy: object).call
end