Class: ZerigoDNS::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/zerigodns/config.rb

Constant Summary collapse

BASE_ATTRIBUTES =
%w(api_key site secure user password)

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The Api key generated by Zerigo DNS

Returns:

  • (String)

    the current value of api_key



5
6
7
# File 'lib/zerigodns/config.rb', line 5

def api_key
  @api_key
end

#secureBoolean

Whether to use HTTPS

Returns:

  • (Boolean)

    the current value of secure



5
6
7
# File 'lib/zerigodns/config.rb', line 5

def secure
  @secure
end

#userString

Your e-mail address

Returns:

  • (String)

    the current value of user



5
6
7
# File 'lib/zerigodns/config.rb', line 5

def user
  @user
end