Sha256: cb1419e5d5c7cbb39f70b552290e0f483869941ad3c79274bf99f477d51f0994

Contents?: true

Size: 1.33 KB

Versions: 7

Compression:

Stored size: 1.33 KB

Contents

module Ecoportal
  module API
    class GraphQL
      module Model
        class Organization < Ecoportal::API::GraphQL::Base::Organization
          class << self
            #userGroup, userGroups,
            #tagTree, tagTrees,
            #register, registers
            #personMembers, attachablePersonMembers
            #contractorEntity,

            # @return [Connection::ContractorEntity, Query::ContractorEntities]
            def contractorEntities(**kargs, &block)
              if kargs.empty?
                contractorEntitiesQuery
              else
                contractorEntitiesQuery.query(**kargs, &block)
              end
            end

            def contractorEntitiesQuery
              Ecoportal::API::GraphQL::Query::ContractorEntities.new(client)
            end

            # @return [Connection::Action, Query::Actions]
            def actions(**kargs, &block)
              if kargs.empty?
                actionsQuery
              else
                actionsQuery.query(**kargs, &block)
              end
            end

            def actionsQuery
              Ecoportal::API::GraphQL::Query::Actions.new(client)
            end

            #actionCategories
            #action, actionsByPage, actionsCounter
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.1.6 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.1.5 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.1.4 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.1.3 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.1.2 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.1.1 lib/ecoportal/api/graphql/model/organization.rb
ecoportal-api-graphql-0.1.0 lib/ecoportal/api/graphql/model/organization.rb