Sha256: 2cbb17a8d615add5026a3987d7c9a5db0acacba8393d7fa3a9b0c6bbb9723a0d

Contents?: true

Size: 897 Bytes

Versions: 6

Compression:

Stored size: 897 Bytes

Contents

module Ecoportal
  module API
    class GraphQL
      module Builder
        class LocationStructure
          attr_reader :client

          def initialize(client)
            @client = client
          end

          def nodeClassifications(**kargs, &block)
            query_model = Ecoportal::API::GraphQL::Query::LocationClassifications.new(client)
            query_model.query(**kargs, &block)
          end

          def applyCommandsInput
            Ecoportal::API::GraphQL::Input::LocationStructure::ApplyCommands.new
          end

          def applyCommands(**kargs, &block)
            applyCommandsMutation.query(**kargs, &block)
          end

          private

          def applyCommandsMutation
            Ecoportal::API::GraphQL::Mutation::LocationStructure::ApplyCommands.new(client)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.4.3 lib/ecoportal/api/graphql/builder/location_structure.rb
ecoportal-api-graphql-0.4.2 lib/ecoportal/api/graphql/builder/location_structure.rb
ecoportal-api-graphql-0.4.1 lib/ecoportal/api/graphql/builder/location_structure.rb
ecoportal-api-graphql-0.4.0 lib/ecoportal/api/graphql/builder/location_structure.rb
ecoportal-api-graphql-0.3.16 lib/ecoportal/api/graphql/builder/location_structure.rb
ecoportal-api-graphql-0.3.15 lib/ecoportal/api/graphql/builder/location_structure.rb