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