Module: Bubbles::CommonUploaderInterface

Included in:
Uploaders::LocalDir, Uploaders::S3, Uploaders::S3EnsureConnection
Defined in:
lib/bubbles/common_uploader_interface.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/bubbles/common_uploader_interface.rb', line 3

def self.included(base)
  base.send(:attr_reader, :config, :command_queue, :bfile)
end

Instance Method Details

#initialize(bfile:, command_queue:, config:) ⇒ Object



7
8
9
10
11
# File 'lib/bubbles/common_uploader_interface.rb', line 7

def initialize(bfile:, command_queue:, config:)
  @bfile  = bfile
  @config = config
  @command_queue = command_queue
end