Class: BatchLoader::GraphQL::Wrapper
- Inherits:
-
Object
- Object
- BatchLoader::GraphQL::Wrapper
- Defined in:
- lib/batch_loader/graphql.rb
Instance Method Summary collapse
-
#initialize(batch_loader) ⇒ Wrapper
constructor
A new instance of Wrapper.
- #sync ⇒ Object
Constructor Details
#initialize(batch_loader) ⇒ Wrapper
Returns a new instance of Wrapper.
6 7 8 |
# File 'lib/batch_loader/graphql.rb', line 6 def initialize(batch_loader) @batch_loader = batch_loader end |
Instance Method Details
#sync ⇒ Object
10 11 12 |
# File 'lib/batch_loader/graphql.rb', line 10 def sync @batch_loader.__sync end |