Sha256: 40d68e6cab2ac9019092660ab2673b5cb03f76349b9bb66ea22ad9874b6b491f

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

class GraphQL::InputValue
  attr_reader :type, :description, :default_value
  attr_accessor :name
  def initialize(type:, description: nil, default_value: nil, name: nil)
    @type = type
    @description = description,
    @default_value = default_value
    @name = name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-0.3.0 lib/graph_ql/types/input_value.rb
graphql-0.2.0 lib/graph_ql/types/input_value.rb