Class: Ryespy::Listener::RaxCF
- Includes:
- Fogable
- Defined in:
- lib/ryespy/listener/rax_cf.rb
Constant Summary collapse
- REDIS_KEY_PREFIX =
'rax_cf'.freeze
- SIDEKIQ_JOB_CLASS =
'RyespyRaxCFJob'.freeze
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ RaxCF
constructor
A new instance of RaxCF.
Methods included from Fogable
Methods inherited from Base
Constructor Details
#initialize(opts = {}) ⇒ RaxCF
Returns a new instance of RaxCF.
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/ryespy/listener/rax_cf.rb', line 16 def initialize(opts = {}) @config = { :auth_url => Fog::Rackspace.const_get( "#{opts[:endpoint].upcase}_AUTH_ENDPOINT" ), :region => opts[:region].downcase.to_sym, :username => opts[:username], :api_key => opts[:api_key], :directory => opts[:container], } super(opts) end |