Sha256: 399e43bf2d51fc8015a8cddc7305b3846abf9622aa5f316d03124c39117ccda7

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

module Ecoportal
  module API
    class GraphQL
      module Base
        class LocationNode < Ecoportal::API::GraphQL::Base::Model
          passkey :id
          passthrough :name, :parent, :parentId
          passthrough :weight
          embeds_one :parent, klass: Base::LocationNode, nullable: true
          passboolean :archived
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.3.1 lib/ecoportal/api/graphql/base/location_node.rb
ecoportal-api-graphql-0.2.3 lib/ecoportal/api/graphql/base/location_node.rb
ecoportal-api-graphql-0.2.2 lib/ecoportal/api/graphql/base/location_node.rb
ecoportal-api-graphql-0.2.1 lib/ecoportal/api/graphql/base/location_node.rb