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.



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

def email
  @email
end

#idInteger

Returns The account ID in DNSimple.

Returns:

  • (Integer)

    The account ID in DNSimple.



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

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.



14
15
16
# File 'lib/dnsimple/struct/account.rb', line 14

def plan_identifier
  @plan_identifier
end