Class: Rapns::Daemon::Certificate
- Inherits:
-
Object
- Object
- Rapns::Daemon::Certificate
- Defined in:
- lib/rapns/daemon/certificate.rb
Instance Attribute Summary collapse
-
#certificate ⇒ Object
Returns the value of attribute certificate.
Instance Method Summary collapse
-
#initialize(certificate_path) ⇒ Certificate
constructor
A new instance of Certificate.
- #load ⇒ Object
Constructor Details
#initialize(certificate_path) ⇒ Certificate
Returns a new instance of Certificate.
8 9 10 |
# File 'lib/rapns/daemon/certificate.rb', line 8 def initialize(certificate_path) @certificate_path = certificate_path end |
Instance Attribute Details
#certificate ⇒ Object
Returns the value of attribute certificate.
6 7 8 |
# File 'lib/rapns/daemon/certificate.rb', line 6 def certificate @certificate end |
Instance Method Details
#load ⇒ Object
12 13 14 |
# File 'lib/rapns/daemon/certificate.rb', line 12 def load @certificate = read_certificate end |