Class: Ecoportal::API::GraphQL::Interface::LocationNode

Inherits:
BaseModel show all
Defined in:
lib/ecoportal/api/graphql/interface/location_node.rb

Direct Known Subclasses

Base::LocationNode

Constant Summary

Constants included from Common::GraphQL::Model::Diffable

Common::GraphQL::Model::Diffable::DIFF_CLASS

Instance Method Summary collapse

Methods included from Common::GraphQL::Model::AsInput

#as_input

Methods included from Common::GraphQL::Model::Diffable

#as_update, #dirty?

Instance Method Details

#parent_id_upcaseObject



29
30
31
# File 'lib/ecoportal/api/graphql/interface/location_node.rb', line 29

def parent_id_upcase
  parent_id&.upcase
end

#parentIdObject Also known as: parent_id



24
25
26
# File 'lib/ecoportal/api/graphql/interface/location_node.rb', line 24

def parentId
  parent&.id
end