Class: GraphQL::Sources::ActiveStorageBase

Inherits:
Dataloader::Source
  • Object
show all
Defined in:
lib/graphql/sources/active_storage_base.rb

Overview

An abstract class for interacting with active storage.

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ActiveStorageBase

Returns a new instance of ActiveStorageBase.

Parameters:

  • name (String)

    the association name



8
9
10
11
# File 'lib/graphql/sources/active_storage_base.rb', line 8

def initialize(name)
  super()
  @name = name
end