Class: Dnsimple::Struct::CertificatePurchase

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

#auto_renewBoolean

Returns True if the certificate is requested to auto-renew.

Returns:

  • (Boolean)

    True if the certificate is requested to auto-renew



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

def auto_renew
  @auto_renew
end

#certificate_idInteger

Returns The certificate ID.

Returns:

  • (Integer)

    The certificate ID.



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

def certificate_id
  @certificate_id
end

#created_atString

Returns When the certificate renewal was created in DNSimple.

Returns:

  • (String)

    When the certificate renewal was created in DNSimple.



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

def created_at
  @created_at
end

#idInteger

Returns The certificate purchase ID in DNSimple.

Returns:

  • (Integer)

    The certificate purchase ID in DNSimple.



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

def id
  @id
end

#stateString

Returns The certificate renewal state.

Returns:

  • (String)

    The certificate renewal state.



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

def state
  @state
end

#updated_atString

Returns When the certificate renewal was last updated in DNSimple.

Returns:

  • (String)

    When the certificate renewal was last updated in DNSimple.



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

def updated_at
  @updated_at
end