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