Sha256: 08d0a993b1279b26f5f8ae74277d8c60a1dc50032d6a6c1f1e6e611d1b973380

Contents?: true

Size: 566 Bytes

Versions: 5

Compression:

Stored size: 566 Bytes

Contents

module Spud
  module Media
    include ActiveSupport::Configurable
    config_accessor :paperclip_storage,:s3_credentials,:storage_path,:storage_path_protected,:storage_url
    self.paperclip_storage = :filesystem
    self.s3_credentials = "#{Rails.root}/config/s3.yml"
    self.storage_path = ":rails_root/public/system/spud_media/:id/:style/:basename.:extension"
    self.storage_path_protected = ":rails_root/public/system/spud_media_protected/:id/:style/:basename.:extension"
    self.storage_url = "/system/spud_media/:id/:style/:basename.:extension"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tb_media-1.0.6 lib/spud_media/configuration.rb
tb_media-1.0.5 lib/spud_media/configuration.rb
tb_media-1.0.4 lib/spud_media/configuration.rb
tb_media-1.0.3 lib/spud_media/configuration.rb
tb_media-1.0.2 lib/spud_media/configuration.rb