Class: Ryespy::Listener::GoogCS

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

Constant Summary collapse

REDIS_KEY_PREFIX =
'goog_cs'.freeze
SIDEKIQ_JOB_CLASS =
'RyespyGoogCSJob'.freeze

Instance Method Summary collapse

Methods included from Fogable

#check

Methods inherited from Base

#close

Constructor Details

#initialize(opts = {}) ⇒ GoogCS

Returns a new instance of GoogCS.



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

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