Class: Ecoportal::API::GraphQL::Model::LocationNode

Inherits:
Base::LocationNode show all
Defined in:
lib/ecoportal/api/graphql/model/location_node.rb

Instance Method Summary collapse

Methods inherited from Base::Model

as_input, #as_input, #as_update

Instance Method Details

#parent_id_upcaseObject



14
15
16
# File 'lib/ecoportal/api/graphql/model/location_node.rb', line 14

def parent_id_upcase
  parent_id&.upcase
end

#parentIdObject Also known as: parent_id



9
10
11
# File 'lib/ecoportal/api/graphql/model/location_node.rb', line 9

def parentId
  parent&.id
end