Class: Dnsimple::Struct::DomainPrice

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/domain_price.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#domainString

Returns The domain name.

Returns:

  • (String)

    The domain name



8
9
10
# File 'lib/dnsimple/struct/domain_price.rb', line 8

def domain
  @domain
end

#premiumBoolean

Returns Whether the domain is premium.

Returns:

  • (Boolean)

    Whether the domain is premium.



11
12
13
# File 'lib/dnsimple/struct/domain_price.rb', line 11

def premium
  @premium
end

#registration_priceFloat

Returns The price for registration.

Returns:

  • (Float)

    The price for registration



14
15
16
# File 'lib/dnsimple/struct/domain_price.rb', line 14

def registration_price
  @registration_price
end

#renewal_priceFloat

Returns The price for renewal.

Returns:

  • (Float)

    The price for renewal



17
18
19
# File 'lib/dnsimple/struct/domain_price.rb', line 17

def renewal_price
  @renewal_price
end

#transfer_priceFloat

Returns The price for transfer.

Returns:

  • (Float)

    The price for transfer



20
21
22
# File 'lib/dnsimple/struct/domain_price.rb', line 20

def transfer_price
  @transfer_price
end