Class: BunnyCdn::Configuration
- Inherits:
-
Object
- Object
- BunnyCdn::Configuration
- Defined in:
- lib/bunny_cdn/configuration.rb
Instance Attribute Summary collapse
-
#accessKey ⇒ Object
Returns the value of attribute accessKey.
-
#apiKey ⇒ Object
Returns the value of attribute apiKey.
-
#region ⇒ Object
Returns the value of attribute region.
-
#storageZone ⇒ Object
Returns the value of attribute storageZone.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Sets the configuration variables upon calling BunnyCdn::Configuration.new.
Constructor Details
#initialize ⇒ Configuration
Sets the configuration variables upon calling BunnyCdn::Configuration.new
6 7 8 9 10 11 |
# File 'lib/bunny_cdn/configuration.rb', line 6 def initialize @storageZone = nil @region = nil # Options are: eu, ny, la or sg (Asia) @accessKey = nil @apiKey = nil end |
Instance Attribute Details
#accessKey ⇒ Object
Returns the value of attribute accessKey.
3 4 5 |
# File 'lib/bunny_cdn/configuration.rb', line 3 def accessKey @accessKey end |
#apiKey ⇒ Object
Returns the value of attribute apiKey.
3 4 5 |
# File 'lib/bunny_cdn/configuration.rb', line 3 def apiKey @apiKey end |
#region ⇒ Object
Returns the value of attribute region.
3 4 5 |
# File 'lib/bunny_cdn/configuration.rb', line 3 def region @region end |
#storageZone ⇒ Object
Returns the value of attribute storageZone.
3 4 5 |
# File 'lib/bunny_cdn/configuration.rb', line 3 def storageZone @storageZone end |