Class: Dnsimple::Struct::Certificate
- Defined in:
- lib/dnsimple/struct/certificate.rb
Instance Attribute Summary collapse
-
#approver_email ⇒ Object
The String approver email address It is set only if the state is submitted.
-
#approver_emails ⇒ Object
The Array of all emails that can be used to approve the certificate.
-
#configured_at ⇒ Object
The Date the certificate was configured.
-
#contact_id ⇒ Object
The Fixnum associated contact ID.
-
#created_at ⇒ String
When the certificate was created in DNSimple.
-
#csr ⇒ Object
The String Certificate Signing Request.
-
#domain ⇒ Object
The associated Domain.
-
#domain_id ⇒ Fixnum
The associated domain ID.
-
#expires_on ⇒ Object
The Date the certificate will expire.
-
#id ⇒ Fixnum
The certificate ID in DNSimple.
-
#name ⇒ Object
The String subdomain on the certificate.
-
#private_key ⇒ Object
The String private key.
-
#ssl_certificate ⇒ Object
The String SSL certificate.
-
#state ⇒ Object
The String state.
-
#updated_at ⇒ String
When the certificate was last updated in DNSimple.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#approver_email ⇒ Object
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_emails ⇒ Object
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_at ⇒ Object
The Date the certificate was configured.
46 47 48 |
# File 'lib/dnsimple/struct/certificate.rb', line 46 def configured_at @configured_at end |
#contact_id ⇒ Object
The Fixnum associated contact ID.
12 13 14 |
# File 'lib/dnsimple/struct/certificate.rb', line 12 def contact_id @contact_id end |
#created_at ⇒ String
Returns When the certificate was created in DNSimple.
40 41 42 |
# File 'lib/dnsimple/struct/certificate.rb', line 40 def created_at @created_at end |
#csr ⇒ Object
The String Certificate Signing Request.
21 22 23 |
# File 'lib/dnsimple/struct/certificate.rb', line 21 def csr @csr end |
#domain ⇒ Object
The associated Domain.
52 53 54 |
# File 'lib/dnsimple/struct/certificate.rb', line 52 def domain @domain end |
#domain_id ⇒ Fixnum
Returns The associated domain ID.
9 10 11 |
# File 'lib/dnsimple/struct/certificate.rb', line 9 def domain_id @domain_id end |
#expires_on ⇒ Object
The Date the certificate will expire.
49 50 51 |
# File 'lib/dnsimple/struct/certificate.rb', line 49 def expires_on @expires_on end |
#id ⇒ Fixnum
Returns The certificate ID in DNSimple.
6 7 8 |
# File 'lib/dnsimple/struct/certificate.rb', line 6 def id @id end |
#name ⇒ Object
The String subdomain on the certificate.
15 16 17 |
# File 'lib/dnsimple/struct/certificate.rb', line 15 def name @name end |
#private_key ⇒ Object
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_certificate ⇒ Object
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 |
#state ⇒ Object
The String state.
18 19 20 |
# File 'lib/dnsimple/struct/certificate.rb', line 18 def state @state end |
#updated_at ⇒ String
Returns 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 |