Class: Dnsimple::Struct::DomainPrice
- Defined in:
- lib/dnsimple/struct/domain_price.rb
Instance Attribute Summary collapse
-
#domain ⇒ String
The domain name.
-
#premium ⇒ Boolean
Whether the domain is premium.
-
#registration_price ⇒ Float
The price for registration.
-
#renewal_price ⇒ Float
The price for renewal.
-
#transfer_price ⇒ Float
The price for transfer.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#domain ⇒ String
Returns The domain name.
8 9 10 |
# File 'lib/dnsimple/struct/domain_price.rb', line 8 def domain @domain end |
#premium ⇒ Boolean
Returns Whether the domain is premium.
11 12 13 |
# File 'lib/dnsimple/struct/domain_price.rb', line 11 def premium @premium end |
#registration_price ⇒ Float
Returns The price for registration.
14 15 16 |
# File 'lib/dnsimple/struct/domain_price.rb', line 14 def registration_price @registration_price end |
#renewal_price ⇒ Float
Returns The price for renewal.
17 18 19 |
# File 'lib/dnsimple/struct/domain_price.rb', line 17 def renewal_price @renewal_price end |
#transfer_price ⇒ Float
Returns The price for transfer.
20 21 22 |
# File 'lib/dnsimple/struct/domain_price.rb', line 20 def transfer_price @transfer_price end |