Class: Dnsimple::Certificate

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Base

Instance Attribute Details

#approver_emailObject

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


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

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.


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

def approver_emails
  @approver_emails
end

#configured_atObject

The Date the certificate was configured.


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

def configured_at
  @configured_at
end

#contact_idObject

The Fixnum associated contact ID.


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

def contact_id
  @contact_id
end

#created_atObject

The Date the certificate was create in DNSimple.


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

def created_at
  @created_at
end

#csrObject

The String Certificate Signing Request.


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

def csr
  @csr
end

#domainObject

The associated Domain.


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

def domain
  @domain
end

#domain_idObject

The Fixnum associated domain ID.


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

def domain_id
  @domain_id
end

#expires_onObject

The Date the certificate will expire.


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

def expires_on
  @expires_on
end

#idObject

The Fixnum certificate ID in DNSimple.


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

def id
  @id
end

#nameObject

The String subdomain on the certificate.


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

def name
  @name
end

#private_keyObject

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


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

def private_key
  @private_key
end

#ssl_certificateObject

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


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

def ssl_certificate
  @ssl_certificate
end

#stateObject

The String state.


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

def state
  @state
end

#updated_atObject

The Date the certificate was last updated in DNSimple.


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

def updated_at
  @updated_at
end