Class: Graphql::PersistedDocuments::Configuration
- Inherits:
-
Object
- Object
- Graphql::PersistedDocuments::Configuration
- Defined in:
- lib/graphql/persisted_documents/configuration.rb
Constant Summary collapse
- DEFAULT_PATH =
'/persist'
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#persist_validated_document ⇒ Object
Returns the value of attribute persist_validated_document.
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/graphql/persisted_documents/configuration.rb', line 6 def path @path end |
#persist_validated_document ⇒ Object
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 |
#schema ⇒ Object
Returns the value of attribute schema.
6 7 8 |
# File 'lib/graphql/persisted_documents/configuration.rb', line 6 def schema @schema end |