Class: Dnsimple::Struct::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/account.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#emailString

Returns The account email.

Returns:

  • (String)

    The account email.



9
10
11
# File 'lib/dnsimple/struct/account.rb', line 9

def email
  @email
end

#idInteger

Returns The account ID in DNSimple.

Returns:

  • (Integer)

    The account ID in DNSimple.



6
7
8
# File 'lib/dnsimple/struct/account.rb', line 6

def id
  @id
end

#plan_identifierString

Returns The identifier of the plan the account is subscribed to.

Returns:

  • (String)

    The identifier of the plan the account is subscribed to.



12
13
14
# File 'lib/dnsimple/struct/account.rb', line 12

def plan_identifier
  @plan_identifier
end