class Cql::Protocol::AuthenticateResponse
Attributes
authentication_class[R]
Public Class Methods
decode(protocol_version, buffer, length, trace_id=nil)
click to toggle source
# File lib/cql/protocol/responses/authenticate_response.rb, line 8 def self.decode(protocol_version, buffer, length, trace_id=nil) new(buffer.read_string) end
new(authentication_class)
click to toggle source
# File lib/cql/protocol/responses/authenticate_response.rb, line 12 def initialize(authentication_class) @authentication_class = authentication_class end
Public Instance Methods
to_s()
click to toggle source
# File lib/cql/protocol/responses/authenticate_response.rb, line 16 def to_s %(AUTHENTICATE #{authentication_class}) end