Class: Acmesmith::PostIssuingHooks::Base
- Inherits:
-
Object
- Object
- Acmesmith::PostIssuingHooks::Base
- Defined in:
- lib/acmesmith/post_issuing_hooks/base.rb
Instance Attribute Summary collapse
-
#certificate ⇒ Object
readonly
Returns the value of attribute certificate.
Instance Method Summary collapse
Instance Attribute Details
#certificate ⇒ Object (readonly)
Returns the value of attribute certificate.
4 5 6 |
# File 'lib/acmesmith/post_issuing_hooks/base.rb', line 4 def certificate @certificate end |
Instance Method Details
#common_name ⇒ Object
6 7 8 |
# File 'lib/acmesmith/post_issuing_hooks/base.rb', line 6 def common_name certificate.common_name end |
#execute ⇒ Object
15 16 17 |
# File 'lib/acmesmith/post_issuing_hooks/base.rb', line 15 def execute raise NotImplementedError end |
#run(certificate:) ⇒ Object
10 11 12 13 |
# File 'lib/acmesmith/post_issuing_hooks/base.rb', line 10 def run(certificate:) @certificate = certificate execute end |