Module: BunnyCdn

Defined in:
lib/bunny_cdn.rb,
lib/bunny_cdn/storage.rb,
lib/bunny_cdn/version.rb,
lib/bunny_cdn/pullzone.rb,
lib/bunny_cdn/configuration.rb

Defined Under Namespace

Classes: Configuration, Pullzone, Storage

Constant Summary collapse

VERSION =
"1.2.0"

Class Method Summary collapse

Class Method Details

.configurationObject



14
15
16
# File 'lib/bunny_cdn/configuration.rb', line 14

def self.configuration
    @configuration ||= Configuration.new
end

.configuration=(config) ⇒ Object



18
19
20
# File 'lib/bunny_cdn/configuration.rb', line 18

def self.configuration=(config)
    @configuration = config
end

.configure {|configuration| ... } ⇒ Object

Yields:



22
23
24
# File 'lib/bunny_cdn/configuration.rb', line 22

def self.configure
    yield(configuration)
end