Sha256: 456461d1879bd5a80abb6266634b1bf86a1c3357b88ff40b137c4e2da8663f38
Contents?: true
Size: 503 Bytes
Versions: 6
Compression:
Stored size: 503 Bytes
Contents
module Pushfile module Amazon # Set up amazon def amazon Fog::Storage.new( :provider => 'AWS', :aws_access_key_id => Pushfile.settings[:amazon_key], :aws_secret_access_key => Pushfile.settings[:amazon_secret] ) end # Amazon cdn def amazon_cdn "#{Pushfile.settings[:amazon_cdn]}/#{Pushfile.settings[:amazon_container]}" end # Amazon container def amazon_container Pushfile.settings[:amazon_container] end end end
Version data entries
6 entries across 6 versions & 1 rubygems