class KingslyCertbot::CertBundle

Attributes

full_chain[R]
private_key[R]
subdomain[R]
tld[R]

Public Class Methods

new(tld, subdomain, private_key, full_chain) click to toggle source
# File lib/kingsly_certbot/cert_bundle.rb, line 9
def initialize(tld, subdomain, private_key, full_chain)
  @tld = tld
  @subdomain = subdomain
  @private_key = private_key
  @full_chain = full_chain
end

Public Instance Methods

==(other) click to toggle source
# File lib/kingsly_certbot/cert_bundle.rb, line 16
def ==(other)
  return false if other.class != self.class

  state == other.state
end
hash() click to toggle source
# File lib/kingsly_certbot/cert_bundle.rb, line 22
def hash
  state.hash
end

Protected Instance Methods

state() click to toggle source
# File lib/kingsly_certbot/cert_bundle.rb, line 28
def state
  [tld, subdomain, private_key, full_chain]
end