lib/propono/components/sqs.rb in propono-0.5.6 vs lib/propono/components/sqs.rb in propono-0.6.0
- old
+ new
@@ -4,17 +4,13 @@
module Sqs
private
def sqs
@sqs ||= Fog::AWS::SQS.new(
- :aws_access_key_id => config.access_key,
- :aws_secret_access_key => config.secret_key,
- :region => config.queue_region
+ :aws_access_key_id => Propono.config.access_key,
+ :aws_secret_access_key => Propono.config.secret_key,
+ :region => Propono.config.queue_region
)
- end
-
- def config
- Configuration.instance
end
end
end