Class: BunnyCdn::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bunny_cdn/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#accessKeyObject

Returns the value of attribute accessKey.



3
4
5
# File 'lib/bunny_cdn/configuration.rb', line 3

def accessKey
  @accessKey
end

#apiKeyObject

Returns the value of attribute apiKey.



3
4
5
# File 'lib/bunny_cdn/configuration.rb', line 3

def apiKey
  @apiKey
end

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/bunny_cdn/configuration.rb', line 3

def region
  @region
end

#storageZoneObject

Returns the value of attribute storageZone.



3
4
5
# File 'lib/bunny_cdn/configuration.rb', line 3

def storageZone
  @storageZone
end