Class: Dnsimple::Struct::Certificate

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

#approver_emailObject

The String approver email address It is set only if the state is submitted.



33
34
35
# File 'lib/dnsimple/struct/certificate.rb', line 33

def approver_email
  @approver_email
end

#approver_emailsObject

The Array of all emails that can be used to approve the certificate. It is set only if the state is configured.



37
38
39
# File 'lib/dnsimple/struct/certificate.rb', line 37

def approver_emails
  @approver_emails
end

#configured_atObject

The Date the certificate was configured.



46
47
48
# File 'lib/dnsimple/struct/certificate.rb', line 46

def configured_at
  @configured_at
end

#contact_idObject

The Fixnum associated contact ID.



12
13
14
# File 'lib/dnsimple/struct/certificate.rb', line 12

def contact_id
  @contact_id
end

#created_atString

Returns When the certificate was created in DNSimple.

Returns:

  • (String)

    When the certificate was created in DNSimple.



40
41
42
# File 'lib/dnsimple/struct/certificate.rb', line 40

def created_at
  @created_at
end

#csrObject

The String Certificate Signing Request.



21
22
23
# File 'lib/dnsimple/struct/certificate.rb', line 21

def csr
  @csr
end

#domainObject

The associated Domain.



52
53
54
# File 'lib/dnsimple/struct/certificate.rb', line 52

def domain
  @domain
end

#domain_idFixnum

Returns The associated domain ID.

Returns:

  • (Fixnum)

    The associated domain ID.



9
10
11
# File 'lib/dnsimple/struct/certificate.rb', line 9

def domain_id
  @domain_id
end

#expires_onObject

The Date the certificate will expire.



49
50
51
# File 'lib/dnsimple/struct/certificate.rb', line 49

def expires_on
  @expires_on
end

#idFixnum

Returns The certificate ID in DNSimple.

Returns:

  • (Fixnum)

    The certificate ID in DNSimple.



6
7
8
# File 'lib/dnsimple/struct/certificate.rb', line 6

def id
  @id
end

#nameObject

The String subdomain on the certificate.



15
16
17
# File 'lib/dnsimple/struct/certificate.rb', line 15

def name
  @name
end

#private_keyObject

The String private key. It is set only if DNSimple generated the Certificate Signing Request.



29
30
31
# File 'lib/dnsimple/struct/certificate.rb', line 29

def private_key
  @private_key
end

#ssl_certificateObject

The String SSL certificate. It is set only if the order issued by the Certificate Authority.



25
26
27
# File 'lib/dnsimple/struct/certificate.rb', line 25

def ssl_certificate
  @ssl_certificate
end

#stateObject

The String state.



18
19
20
# File 'lib/dnsimple/struct/certificate.rb', line 18

def state
  @state
end

#updated_atString

Returns When the certificate was last updated in DNSimple.

Returns:

  • (String)

    When the certificate was last updated in DNSimple.



43
44
45
# File 'lib/dnsimple/struct/certificate.rb', line 43

def updated_at
  @updated_at
end