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