Class: Ryespy::Listener::AmznS3

Inherits:
Base
  • Object
show all
Includes:
Fogable
Defined in:
lib/ryespy/listener/amzn_s3.rb

Constant Summary collapse

REDIS_KEY_PREFIX =
'amzn_s3'.freeze
SIDEKIQ_JOB_CLASS =
'RyespyAmznS3Job'.freeze

Instance Method Summary collapse

Methods included from Fogable

#check

Methods inherited from Base

#close

Constructor Details

#initialize(opts = {}) ⇒ AmznS3

Returns a new instance of AmznS3.



16
17
18
19
20
21
22
23
24
# File 'lib/ryespy/listener/amzn_s3.rb', line 16

def initialize(opts = {})
  @config = {
    :access_key => opts[:access_key],
    :secret_key => opts[:secret_key],
    :directory  => opts[:bucket],
  }
  
  super(opts)
end