Class: Istat::Frames::AuthenticationRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/istat/frames/authentication.rb

Overview

authenticate with passwd

Instance Method Summary collapse

Constructor Details

#initialize(password) ⇒ AuthenticationRequest

create a new authentication resquest frame with the passed code/password

Parameters:

  • password (String)

    the password to use for authentication



26
27
28
# File 'lib/istat/frames/authentication.rb', line 26

def initialize(password)
  @password = password
end

Instance Method Details

#to_sString

just returns the password, the frame has no header or container

Returns:

  • (String)

    the password



32
33
34
# File 'lib/istat/frames/authentication.rb', line 32

def to_s
  @password
end