Class: Vcert::Certificate
- Inherits:
-
Object
- Object
- Vcert::Certificate
- Defined in:
- lib/objects/objects.rb
Instance Attribute Summary collapse
-
#cert ⇒ Object
readonly
Returns the value of attribute cert.
-
#chain ⇒ Object
readonly
Returns the value of attribute chain.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
Instance Method Summary collapse
-
#initialize(cert: nil, chain: nil, private_key: nil) ⇒ Certificate
constructor
A new instance of Certificate.
Constructor Details
#initialize(cert: nil, chain: nil, private_key: nil) ⇒ Certificate
Returns a new instance of Certificate.
158 159 160 161 162 |
# File 'lib/objects/objects.rb', line 158 def initialize(cert: nil, chain: nil, private_key: nil) @cert = cert @chain = chain @private_key = private_key end |
Instance Attribute Details
#cert ⇒ Object (readonly)
Returns the value of attribute cert.
156 157 158 |
# File 'lib/objects/objects.rb', line 156 def cert @cert end |
#chain ⇒ Object (readonly)
Returns the value of attribute chain.
156 157 158 |
# File 'lib/objects/objects.rb', line 156 def chain @chain end |
#private_key ⇒ Object
Returns the value of attribute private_key.
155 156 157 |
# File 'lib/objects/objects.rb', line 155 def private_key @private_key end |