Module: Graphql::PersistedDocuments

Defined in:
lib/graphql/persisted_documents.rb,
lib/graphql/persisted_documents/engine.rb,
lib/graphql/persisted_documents/version.rb,
lib/graphql/persisted_documents/persister.rb,
lib/graphql/persisted_documents/configuration.rb,
app/controllers/graphql/persisted_documents/application_controller.rb,
app/controllers/graphql/persisted_documents/persisted_documents_controller.rb

Defined Under Namespace

Classes: ApplicationController, Configuration, Engine, PersistedDocumentsController, Persister

Constant Summary collapse

VERSION =
"0.2.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



10
11
12
# File 'lib/graphql/persisted_documents.rb', line 10

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



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

def configure
  @configuration ||= Configuration.new
  yield(configuration) if block_given?
end