Class: Graphql::PersistedDocuments::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/persisted_documents/configuration.rb

Constant Summary collapse

DEFAULT_PATH =
'/persist'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



12
13
14
# File 'lib/graphql/persisted_documents/configuration.rb', line 12

def initialize
  @path = DEFAULT_PATH
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/graphql/persisted_documents/configuration.rb', line 6

def path
  @path
end

#persist_validated_documentObject

Returns the value of attribute persist_validated_document.



6
7
8
# File 'lib/graphql/persisted_documents/configuration.rb', line 6

def persist_validated_document
  @persist_validated_document
end

#schemaObject

Returns the value of attribute schema.



6
7
8
# File 'lib/graphql/persisted_documents/configuration.rb', line 6

def schema
  @schema
end