Class: Mongo::Socket::OcspVerifier::Response Private
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Mongo::Socket::OcspVerifier::Response
- Defined in:
- lib/mongo/socket/ocsp_verifier.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Wraps OpenSSL::OCSP::SingleResponse with the responder URI that supplied it.
Instance Attribute Summary collapse
- #original_uri ⇒ Object readonly private
- #uri ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(single_response, uri, original_uri) ⇒ Response
constructor
private
A new instance of Response.
Constructor Details
#initialize(single_response, uri, original_uri) ⇒ Response
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Response.
42 43 44 45 46 |
# File 'lib/mongo/socket/ocsp_verifier.rb', line 42 def initialize(single_response, uri, original_uri) super(single_response) @uri = uri @original_uri = original_uri end |
Instance Attribute Details
#original_uri ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
40 41 42 |
# File 'lib/mongo/socket/ocsp_verifier.rb', line 40 def original_uri @original_uri end |
#uri ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
40 41 42 |
# File 'lib/mongo/socket/ocsp_verifier.rb', line 40 def uri @uri end |