Sha256: ecf68487989ae6c9dfec1d4b8997a51f438733d087e6d5d7402871479c0734c7

Contents?: true

Size: 541 Bytes

Versions: 9

Compression:

Stored size: 541 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 = "public/system/spud_media/:id/:style/:basename.:extension"
    self.storage_path_protected = "public/system/spud_media_protected/:id/:style/:basename.:extension"
    self.storage_url = "/system/spud_media/:id/:style/:basename.:extension"
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
tb_media-1.0.1 lib/spud_media/configuration.rb
spud_media-0.9.6 lib/spud_media/configuration.rb
tb_media-1.0 lib/spud_media/configuration.rb
spud_media-0.9.5 lib/spud_media/configuration.rb
spud_media-0.9.4 lib/spud_media/configuration.rb
spud_media-0.9.3 lib/spud_media/configuration.rb
spud_media-0.9.2 lib/spud_media/configuration.rb
spud_media-0.9.1 lib/spud_media/configuration.rb
spud_media-0.9.0 lib/spud_media/configuration.rb