Class: BatchLoader::GraphQL::Wrapper

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

Instance Method Summary collapse

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

#syncObject



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

def sync
  @batch_loader.__sync
end