Sha256: 157bca3f2cea5f49cb4b5cfb32a266a505c0f109e97c8c42144fb0d2458a864e

Contents?: true

Size: 1.1 KB

Versions: 6

Compression:

Stored size: 1.1 KB

Contents

module Ecoportal
  module API
    class GraphQL
      module Model
        class Organization < Ecoportal::API::GraphQL::Base::Organization
          DEFAULT_PATH = ["currentOrganization"]

          class << self
            extend Ecoportal::API::Common::GraphQL::QueryIntegration

            def path(*add)
              DEFAULT_PATH.dup.push(*add)
            end

            query :locationStructure, subpath: "locations", query_klass: "Ecoportal::API::GraphQL::Query::LocationStructure"
            query :locationStructures, subpath: "locations", query_klass: "Ecoportal::API::GraphQL::Query::LocationStructures"
            query :contractorEntities, query_klass: "Ecoportal::API::GraphQL::Query::ContractorEntities"
            #contractorEntity,
            query :actions, query_klass: "Ecoportal::API::GraphQL::Query::Actions"
            #action, actionsByPage, actionsCounter
            #actionCategories

            #userGroup, userGroups

            #register, registers
            #personMembers, attachablePersonMembers
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.3.7 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.3.6 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.3.5 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.3.3 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.3.1 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.2.3 lib/ecoportal/api/graphql/model/organization.rb