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

#authority_identifierString

Returns The Certificate Authority (CA) that issued the certificate.

Returns:

  • (String)

    The Certificate Authority (CA) that issued the certificate.



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

def authority_identifier
  @authority_identifier
end

#common_nameString

Returns The certificate common name.

Returns:

  • (String)

    The certificate common name.



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

def common_name
  @common_name
end

#created_atString

Returns When the certificate was created in DNSimple.

Returns:

  • (String)

    When the certificate was created in DNSimple.



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

def created_at
  @created_at
end

#csrString

Returns The certificate CSR.

Returns:

  • (String)

    The certificate CSR.



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

def csr
  @csr
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

def domain_id
  @domain_id
end

#expires_onString

Returns When the certificate will expire.

Returns:

  • (String)

    When the certificate will expire.



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

def expires_on
  @expires_on
end

#idInteger

Returns The certificate ID in DNSimple.

Returns:

  • (Integer)

    The certificate ID in DNSimple.



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

def id
  @id
end

#stateString

Returns The certificate state.

Returns:

  • (String)

    The certificate state.



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

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.



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

def updated_at
  @updated_at
end

#yearsInteger

Returns The years the certificate will last.

Returns:

  • (Integer)

    The years the certificate will last.



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

def years
  @years
end