Method: GraphQL::Cache.configure

Defined in:
lib/graphql/cache.rb

.configure {|_self| ... } ⇒ Object

Provides for initializer syntax

GraphQL::Cache.configure do |c|
  c.namespace = 'MyNamespace'
end

Yields:

  • (_self)

Yield Parameters:



35
36
37
# File 'lib/graphql/cache.rb', line 35

def configure
  yield self
end