Class: Akamai::Configuration
- Inherits:
-
Object
- Object
- Akamai::Configuration
- Defined in:
- lib/akamai/configuration.rb
Instance Attribute Summary collapse
-
#cachecontrol_domain ⇒ Object
Returns the value of attribute cachecontrol_domain.
-
#cachecontrol_email_notification ⇒ Object
Returns the value of attribute cachecontrol_email_notification.
-
#cachecontrol_password ⇒ Object
Returns the value of attribute cachecontrol_password.
-
#cachecontrol_purge_action ⇒ Object
Returns the value of attribute cachecontrol_purge_action.
-
#cachecontrol_username ⇒ Object
Returns the value of attribute cachecontrol_username.
-
#netstorage_basedir ⇒ Object
Returns the value of attribute netstorage_basedir.
-
#netstorage_ftp_host ⇒ Object
Returns the value of attribute netstorage_ftp_host.
-
#netstorage_password ⇒ Object
Returns the value of attribute netstorage_password.
-
#netstorage_public_host ⇒ Object
Returns the value of attribute netstorage_public_host.
-
#netstorage_username ⇒ Object
Returns the value of attribute netstorage_username.
-
#wsdl_url ⇒ Object
Returns the value of attribute wsdl_url.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(args = {}) ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/akamai/configuration.rb', line 17 def initialize(args = {}) self.wsdl_url = 'http://ccuapi.akamai.com/ccuapi-axis.wsdl' self.cachecontrol_domain = "production" self.cachecontrol_purge_action = "remove" for key, val in args send("#{key}=".to_sym, val) end end |
Instance Attribute Details
#cachecontrol_domain ⇒ Object
Returns the value of attribute cachecontrol_domain.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def cachecontrol_domain @cachecontrol_domain end |
#cachecontrol_email_notification ⇒ Object
Returns the value of attribute cachecontrol_email_notification.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def cachecontrol_email_notification @cachecontrol_email_notification end |
#cachecontrol_password ⇒ Object
Returns the value of attribute cachecontrol_password.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def cachecontrol_password @cachecontrol_password end |
#cachecontrol_purge_action ⇒ Object
Returns the value of attribute cachecontrol_purge_action.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def cachecontrol_purge_action @cachecontrol_purge_action end |
#cachecontrol_username ⇒ Object
Returns the value of attribute cachecontrol_username.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def cachecontrol_username @cachecontrol_username end |
#netstorage_basedir ⇒ Object
Returns the value of attribute netstorage_basedir.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def netstorage_basedir @netstorage_basedir end |
#netstorage_ftp_host ⇒ Object
Returns the value of attribute netstorage_ftp_host.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def netstorage_ftp_host @netstorage_ftp_host end |
#netstorage_password ⇒ Object
Returns the value of attribute netstorage_password.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def netstorage_password @netstorage_password end |
#netstorage_public_host ⇒ Object
Returns the value of attribute netstorage_public_host.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def netstorage_public_host @netstorage_public_host end |
#netstorage_username ⇒ Object
Returns the value of attribute netstorage_username.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def netstorage_username @netstorage_username end |
#wsdl_url ⇒ Object
Returns the value of attribute wsdl_url.
5 6 7 |
# File 'lib/akamai/configuration.rb', line 5 def wsdl_url @wsdl_url end |