Class: Dnsimple::Struct::DomainRegistration
- Defined in:
- lib/dnsimple/struct/domain_registration.rb
Instance Attribute Summary collapse
-
#auto_renew ⇒ Bool
True if the domain auto-renew was requested.
-
#created_at ⇒ String
When the domain renewal was created in DNSimple.
-
#domain_id ⇒ Integer
The associated domain ID.
-
#id ⇒ Integer
The domain registration ID in DNSimple.
-
#period ⇒ Integer
The number of years the domain was registered for.
-
#registrant_id ⇒ Integer
The associated registrant (contact) ID.
-
#state ⇒ String
The state of the renewal.
-
#updated_at ⇒ String
When the domain renewal was last updated in DNSimple.
-
#whois_privacy ⇒ Bool
True if the domain WHOIS privacy was requested.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#auto_renew ⇒ Bool
Returns True if the domain auto-renew was requested.
22 23 24 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 22 def auto_renew @auto_renew end |
#created_at ⇒ String
Returns When the domain renewal was created in DNSimple.
28 29 30 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 28 def created_at @created_at end |
#domain_id ⇒ Integer
Returns The associated domain ID.
10 11 12 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 10 def domain_id @domain_id end |
#id ⇒ Integer
Returns The domain registration ID in DNSimple.
7 8 9 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 7 def id @id end |
#period ⇒ Integer
Returns The number of years the domain was registered for.
16 17 18 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 16 def period @period end |
#registrant_id ⇒ Integer
Returns The associated registrant (contact) ID.
13 14 15 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 13 def registrant_id @registrant_id end |
#state ⇒ String
Returns The state of the renewal.
19 20 21 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 19 def state @state end |
#updated_at ⇒ String
Returns When the domain renewal was last updated in DNSimple.
31 32 33 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 31 def updated_at @updated_at end |
#whois_privacy ⇒ Bool
Returns True if the domain WHOIS privacy was requested.
25 26 27 |
# File 'lib/dnsimple/struct/domain_registration.rb', line 25 def whois_privacy @whois_privacy end |