Class: Prof::SSL::Result
- Inherits:
-
Object
- Object
- Prof::SSL::Result
- Defined in:
- lib/prof/ssl/result.rb
Instance Attribute Summary collapse
-
#cipher ⇒ Object
readonly
Returns the value of attribute cipher.
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
Instance Method Summary collapse
-
#initialize(protocol, cipher, supported) ⇒ Result
constructor
A new instance of Result.
- #supported? ⇒ Boolean
Constructor Details
#initialize(protocol, cipher, supported) ⇒ Result
Returns a new instance of Result.
14 15 16 17 18 |
# File 'lib/prof/ssl/result.rb', line 14 def initialize(protocol, cipher, supported) @protocol = protocol @cipher = String(cipher) @supported = supported end |
Instance Attribute Details
#cipher ⇒ Object (readonly)
Returns the value of attribute cipher.
20 21 22 |
# File 'lib/prof/ssl/result.rb', line 20 def cipher @cipher end |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
20 21 22 |
# File 'lib/prof/ssl/result.rb', line 20 def protocol @protocol end |
Instance Method Details
#supported? ⇒ Boolean
22 23 24 |
# File 'lib/prof/ssl/result.rb', line 22 def supported? @supported end |