Class: Cql::Protocol::SupportedResponse
- Defined in:
- lib/cql/protocol/responses/supported_response.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ SupportedResponse
constructor
A new instance of SupportedResponse.
- #to_s ⇒ Object
Methods included from Decoding
#read_byte!, #read_bytes!, #read_consistency!, #read_decimal!, #read_double!, #read_float!, #read_inet!, #read_int!, #read_long!, #read_long_string!, #read_option!, #read_short!, #read_short_bytes!, #read_string!, #read_string_list!, #read_string_map!, #read_string_multimap!, #read_uuid!, #read_varint!
Constructor Details
#initialize(options) ⇒ SupportedResponse
Returns a new instance of SupportedResponse.
8 9 10 |
# File 'lib/cql/protocol/responses/supported_response.rb', line 8 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/cql/protocol/responses/supported_response.rb', line 6 def @options end |
Class Method Details
.decode!(buffer) ⇒ Object
12 13 14 |
# File 'lib/cql/protocol/responses/supported_response.rb', line 12 def self.decode!(buffer) new(read_string_multimap!(buffer)) end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/cql/protocol/responses/supported_response.rb', line 16 def to_s %(SUPPORTED #{}) end |