Sha256: 89dd7be15234c16fe97397ef1a061aee2ec5ebcf32538bdf0f00aaf36491b260

Contents?: true

Size: 549 Bytes

Versions: 31

Compression:

Stored size: 549 Bytes

Contents

module ForemanPuppet
  module Types
    class Puppetclass < ::Types::BaseObject
      model_class ForemanPuppet::Puppetclass
      description 'A Puppetclass'

      global_id_field :id
      timestamps
      field :name, String

      has_many :environments, ForemanPuppet::Types::Environment
      has_many :locations, ::Types::Location
      has_many :organizations, ::Types::Organization

      def self.graphql_definition
        super.tap { |type| type.instance_variable_set(:@name, 'ForemanPuppet::Puppetclass') }
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
foreman_puppet-4.1.1 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-4.1.0 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-4.0.4 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-5.0.0 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-4.0.3 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-4.0.2 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.7 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-2.0.7 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-4.0.1 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-4.0.0 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.6 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-2.0.6 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-2.0.5 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.5 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.4 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-2.0.4 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.3 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.2 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-2.0.3 app/graphgl/foreman_puppet/types/puppetclass.rb
foreman_puppet-3.0.1 app/graphgl/foreman_puppet/types/puppetclass.rb