lib/propono/components/sns.rb in propono-0.5.6 vs lib/propono/components/sns.rb in propono-0.6.0
- old
+ new
@@ -4,16 +4,12 @@
module Sns
private
def sns
@sns ||= Fog::AWS::SNS.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