Class: Cert::RhsmClient
- Inherits:
-
Object
- Object
- Cert::RhsmClient
- Defined in:
- app/services/cert/rhsm_client.rb
Instance Attribute Summary collapse
-
#cert ⇒ Object
Returns the value of attribute cert.
Instance Method Summary collapse
-
#initialize(cert) ⇒ RhsmClient
constructor
A new instance of RhsmClient.
- #uuid ⇒ Object
Constructor Details
#initialize(cert) ⇒ RhsmClient
Returns a new instance of RhsmClient.
8 9 10 |
# File 'app/services/cert/rhsm_client.rb', line 8 def initialize(cert) self.cert = extract(cert) end |
Instance Attribute Details
#cert ⇒ Object
Returns the value of attribute cert.
6 7 8 |
# File 'app/services/cert/rhsm_client.rb', line 6 def cert @cert end |
Instance Method Details
#uuid ⇒ Object
12 13 14 |
# File 'app/services/cert/rhsm_client.rb', line 12 def uuid drop_cn_prefix_from_subject(@cert.subject.to_s) end |