Class: LogStash::Inputs::Http::TLS::TLSOption
- Inherits:
-
Object
- Object
- LogStash::Inputs::Http::TLS::TLSOption
- Includes:
- Comparable
- Defined in:
- lib/logstash/inputs/http/tls.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
- #<=>(other) ⇒ Object
-
#initialize(name, version) ⇒ TLSOption
constructor
A new instance of TLSOption.
Constructor Details
#initialize(name, version) ⇒ TLSOption
Returns a new instance of TLSOption.
8 9 10 11 |
# File 'lib/logstash/inputs/http/tls.rb', line 8 def initialize(name, version) @name = name @version = version end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/logstash/inputs/http/tls.rb', line 7 def name @name end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/logstash/inputs/http/tls.rb', line 7 def version @version end |
Instance Method Details
#<=>(other) ⇒ Object
13 14 15 |
# File 'lib/logstash/inputs/http/tls.rb', line 13 def <=>(other) version <=> other.version end |