Class: Dnsimple::Struct::Certificate
- Defined in:
- lib/dnsimple/struct/certificate.rb
Instance Attribute Summary collapse
-
#alternate_names ⇒ Array<String>
The certificate alternate names.
-
#authority_identifier ⇒ String
The Certificate Authority (CA) that issued the certificate.
-
#auto_renew ⇒ Boolean
True if the certificate is set to auto-renew on expiration.
-
#common_name ⇒ String
The certificate common name.
-
#contact_id ⇒ Integer
The associated contact ID.
-
#created_at ⇒ String
When the certificate was created in DNSimple.
-
#csr ⇒ String
The certificate CSR.
-
#domain_id ⇒ Integer
The associated domain ID.
-
#expires_at ⇒ String
The timestamp when the certificate will expire.
-
#id ⇒ Integer
The certificate ID in DNSimple.
-
#state ⇒ String
The certificate state.
-
#updated_at ⇒ String
When the certificate was last updated in DNSimple.
-
#years ⇒ Integer
The years the certificate will last.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#alternate_names ⇒ Array<String>
Returns The certificate alternate names.
20 21 22 |
# File 'lib/dnsimple/struct/certificate.rb', line 20 def alternate_names @alternate_names end |
#authority_identifier ⇒ String
Returns The Certificate Authority (CA) that issued the certificate.
32 33 34 |
# File 'lib/dnsimple/struct/certificate.rb', line 32 def @authority_identifier end |
#auto_renew ⇒ Boolean
Returns True if the certificate is set to auto-renew on expiration.
35 36 37 |
# File 'lib/dnsimple/struct/certificate.rb', line 35 def auto_renew @auto_renew end |
#common_name ⇒ String
Returns The certificate common name.
17 18 19 |
# File 'lib/dnsimple/struct/certificate.rb', line 17 def common_name @common_name end |
#contact_id ⇒ Integer
Returns The associated contact ID.
14 15 16 |
# File 'lib/dnsimple/struct/certificate.rb', line 14 def contact_id @contact_id end |
#created_at ⇒ String
Returns When the certificate was created in DNSimple.
38 39 40 |
# File 'lib/dnsimple/struct/certificate.rb', line 38 def created_at @created_at end |
#csr ⇒ String
Returns The certificate CSR.
26 27 28 |
# File 'lib/dnsimple/struct/certificate.rb', line 26 def csr @csr end |
#domain_id ⇒ Integer
Returns The associated domain ID.
11 12 13 |
# File 'lib/dnsimple/struct/certificate.rb', line 11 def domain_id @domain_id end |
#expires_at ⇒ String
Returns The timestamp when the certificate will expire.
44 45 46 |
# File 'lib/dnsimple/struct/certificate.rb', line 44 def expires_at @expires_at end |
#id ⇒ Integer
Returns The certificate ID in DNSimple.
8 9 10 |
# File 'lib/dnsimple/struct/certificate.rb', line 8 def id @id end |
#state ⇒ String
Returns The certificate state.
29 30 31 |
# File 'lib/dnsimple/struct/certificate.rb', line 29 def state @state end |
#updated_at ⇒ String
Returns When the certificate was last updated in DNSimple.
41 42 43 |
# File 'lib/dnsimple/struct/certificate.rb', line 41 def updated_at @updated_at end |
#years ⇒ Integer
Returns The years the certificate will last.
23 24 25 |
# File 'lib/dnsimple/struct/certificate.rb', line 23 def years @years end |