Class: Akamai::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_domainObject

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_notificationObject

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_passwordObject

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_actionObject

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_usernameObject

Returns the value of attribute cachecontrol_username.



5
6
7
# File 'lib/akamai/configuration.rb', line 5

def cachecontrol_username
  @cachecontrol_username
end

#netstorage_basedirObject

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_hostObject

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_passwordObject

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_hostObject

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_usernameObject

Returns the value of attribute netstorage_username.



5
6
7
# File 'lib/akamai/configuration.rb', line 5

def netstorage_username
  @netstorage_username
end

#wsdl_urlObject

Returns the value of attribute wsdl_url.



5
6
7
# File 'lib/akamai/configuration.rb', line 5

def wsdl_url
  @wsdl_url
end