Class: Dnsimple::Struct::DomainRenewal
- Defined in:
- lib/dnsimple/struct/domain_renewal.rb
Instance Attribute Summary collapse
-
#created_at ⇒ String
When the domain renewal was created in DNSimple.
-
#domain_id ⇒ Integer
The associated domain ID.
-
#id ⇒ Integer
The domain renewal ID in DNSimple.
-
#period ⇒ Integer
The number of years the domain was renewed for.
-
#state ⇒ String
The state of the renewal.
-
#updated_at ⇒ String
When the domain renewal 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
#created_at ⇒ String
Returns When the domain renewal was created in DNSimple.
18 19 20 |
# File 'lib/dnsimple/struct/domain_renewal.rb', line 18 def created_at @created_at end |
#domain_id ⇒ Integer
Returns The associated domain ID.
9 10 11 |
# File 'lib/dnsimple/struct/domain_renewal.rb', line 9 def domain_id @domain_id end |
#id ⇒ Integer
Returns The domain renewal ID in DNSimple.
6 7 8 |
# File 'lib/dnsimple/struct/domain_renewal.rb', line 6 def id @id end |
#period ⇒ Integer
Returns The number of years the domain was renewed for.
12 13 14 |
# File 'lib/dnsimple/struct/domain_renewal.rb', line 12 def period @period end |
#state ⇒ String
Returns The state of the renewal.
15 16 17 |
# File 'lib/dnsimple/struct/domain_renewal.rb', line 15 def state @state end |
#updated_at ⇒ String
Returns When the domain renewal was last updated in DNSimple.
21 22 23 |
# File 'lib/dnsimple/struct/domain_renewal.rb', line 21 def updated_at @updated_at end |