Class: Dnsimple::Struct::DomainRenewal

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/domain_renewal.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

#created_atString

Returns When the domain renewal was created in DNSimple.

Returns:

  • (String)

    When the domain renewal was created in DNSimple.



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

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

def domain_id
  @domain_id
end

#idInteger

Returns The domain renewal ID in DNSimple.

Returns:

  • (Integer)

    The domain renewal ID in DNSimple.



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

def id
  @id
end

#periodInteger

Returns The number of years the domain was renewed for.

Returns:

  • (Integer)

    The number of years the domain was renewed for.



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

def period
  @period
end

#stateString

Returns The state of the renewal.

Returns:

  • (String)

    The state of the renewal.



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

def state
  @state
end

#updated_atString

Returns When the domain renewal was last updated in DNSimple.

Returns:

  • (String)

    When the domain renewal was last updated in DNSimple.



23
24
25
# File 'lib/dnsimple/struct/domain_renewal.rb', line 23

def updated_at
  @updated_at
end