Class: Dnsimple::Struct::Domain
- Defined in:
- lib/dnsimple/struct/domain.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
The associated account ID.
-
#auto_renew ⇒ Bool
True if the domain is set to auto-renew, false otherwise.
-
#created_at ⇒ String
When the domain was created in DNSimple.
-
#expires_on ⇒ String
The date the domain will expire.
-
#id ⇒ Fixnum
The domain ID in DNSimple.
-
#name ⇒ String
The domain name.
-
#private_whois ⇒ Bool
True if the domain WHOIS privacy is enabled, false otherwise.
-
#registrant_id ⇒ Fixnum
The associated registrant (contact) ID.
-
#state ⇒ String
The domain state.
-
#token ⇒ String
The domain API token used for domain authentication.
-
#updated_at ⇒ String
When the domain 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/domain.rb', line 9 def account_id @account_id end |
#auto_renew ⇒ Bool
Returns True if the domain is set to auto-renew, false otherwise.
24 25 26 |
# File 'lib/dnsimple/struct/domain.rb', line 24 def auto_renew @auto_renew end |
#created_at ⇒ String
Returns When the domain was created in DNSimple.
33 34 35 |
# File 'lib/dnsimple/struct/domain.rb', line 33 def created_at @created_at end |
#expires_on ⇒ String
Returns The date the domain will expire.
30 31 32 |
# File 'lib/dnsimple/struct/domain.rb', line 30 def expires_on @expires_on end |
#id ⇒ Fixnum
Returns The domain ID in DNSimple.
6 7 8 |
# File 'lib/dnsimple/struct/domain.rb', line 6 def id @id end |
#name ⇒ String
Returns The domain name.
15 16 17 |
# File 'lib/dnsimple/struct/domain.rb', line 15 def name @name end |
#private_whois ⇒ Bool
Returns True if the domain WHOIS privacy is enabled, false otherwise.
27 28 29 |
# File 'lib/dnsimple/struct/domain.rb', line 27 def private_whois @private_whois end |
#registrant_id ⇒ Fixnum
Returns The associated registrant (contact) ID.
12 13 14 |
# File 'lib/dnsimple/struct/domain.rb', line 12 def registrant_id @registrant_id end |
#state ⇒ String
Returns The domain state.
21 22 23 |
# File 'lib/dnsimple/struct/domain.rb', line 21 def state @state end |
#token ⇒ String
Returns The domain API token used for domain authentication.
18 19 20 |
# File 'lib/dnsimple/struct/domain.rb', line 18 def token @token end |
#updated_at ⇒ String
Returns When the domain was last updated in DNSimple.
36 37 38 |
# File 'lib/dnsimple/struct/domain.rb', line 36 def updated_at @updated_at end |