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
.configuration ⇒ Object
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
|
22
23
24
|
# File 'lib/bunny_cdn/configuration.rb', line 22
def self.configure
yield(configuration)
end
|