Class: Dnsimple::Struct::Contact
- Defined in:
- lib/dnsimple/struct/contact.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Integer
The associated account ID.
-
#address1 ⇒ String
The contact street address.
-
#address2 ⇒ String
Apartment or suite number.
-
#city ⇒ String
The city name.
-
#country ⇒ String
The contact country (as a 2-character country code).
-
#created_at ⇒ String
When the contact was created in DNSimple.
-
#email ⇒ String
The contact email address.
-
#fax ⇒ String
The contact fax number (may be omitted).
-
#first_name ⇒ String
The contact first name.
-
#id ⇒ Integer
The contact ID in DNSimple.
-
#job_title ⇒ String
The contact’s job title.
-
#label ⇒ String
The label to represent the contact.
-
#last_name ⇒ String
The contact last name.
-
#organization_name ⇒ String
The name of the organization in which the contact works.
-
#phone ⇒ String
The contact phone number.
-
#postal_code ⇒ String
The contact postal code.
-
#state_province ⇒ String
The state or province name.
-
#updated_at ⇒ String
When the contact was last updated in DNSimple.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#account_id ⇒ Integer
Returns The associated account ID.
11 12 13 |
# File 'lib/dnsimple/struct/contact.rb', line 11 def account_id @account_id end |
#address1 ⇒ String
Returns The contact street address.
29 30 31 |
# File 'lib/dnsimple/struct/contact.rb', line 29 def address1 @address1 end |
#address2 ⇒ String
Returns Apartment or suite number.
32 33 34 |
# File 'lib/dnsimple/struct/contact.rb', line 32 def address2 @address2 end |
#city ⇒ String
Returns The city name.
35 36 37 |
# File 'lib/dnsimple/struct/contact.rb', line 35 def city @city end |
#country ⇒ String
Returns The contact country (as a 2-character country code).
44 45 46 |
# File 'lib/dnsimple/struct/contact.rb', line 44 def country @country end |
#created_at ⇒ String
Returns When the contact was created in DNSimple.
56 57 58 |
# File 'lib/dnsimple/struct/contact.rb', line 56 def created_at @created_at end |
#email ⇒ String
Returns The contact email address.
53 54 55 |
# File 'lib/dnsimple/struct/contact.rb', line 53 def email @email end |
#fax ⇒ String
Returns The contact fax number (may be omitted).
50 51 52 |
# File 'lib/dnsimple/struct/contact.rb', line 50 def fax @fax end |
#first_name ⇒ String
Returns The contact first name.
17 18 19 |
# File 'lib/dnsimple/struct/contact.rb', line 17 def first_name @first_name end |
#id ⇒ Integer
Returns The contact ID in DNSimple.
8 9 10 |
# File 'lib/dnsimple/struct/contact.rb', line 8 def id @id end |
#job_title ⇒ String
Returns The contact’s job title.
23 24 25 |
# File 'lib/dnsimple/struct/contact.rb', line 23 def job_title @job_title end |
#label ⇒ String
Returns The label to represent the contact.
14 15 16 |
# File 'lib/dnsimple/struct/contact.rb', line 14 def label @label end |
#last_name ⇒ String
Returns The contact last name.
20 21 22 |
# File 'lib/dnsimple/struct/contact.rb', line 20 def last_name @last_name end |
#organization_name ⇒ String
Returns The name of the organization in which the contact works.
26 27 28 |
# File 'lib/dnsimple/struct/contact.rb', line 26 def organization_name @organization_name end |
#phone ⇒ String
Returns The contact phone number.
47 48 49 |
# File 'lib/dnsimple/struct/contact.rb', line 47 def phone @phone end |
#postal_code ⇒ String
Returns The contact postal code.
41 42 43 |
# File 'lib/dnsimple/struct/contact.rb', line 41 def postal_code @postal_code end |
#state_province ⇒ String
Returns The state or province name.
38 39 40 |
# File 'lib/dnsimple/struct/contact.rb', line 38 def state_province @state_province end |
#updated_at ⇒ String
Returns When the contact was last updated in DNSimple.
59 60 61 |
# File 'lib/dnsimple/struct/contact.rb', line 59 def updated_at @updated_at end |