Class: HrrRbSsh::Authentication::Method::None::Context
- Inherits:
-
Object
- Object
- HrrRbSsh::Authentication::Method::None::Context
- Defined in:
- lib/hrr_rb_ssh/authentication/method/none/context.rb
Instance Attribute Summary collapse
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username) ⇒ Context
constructor
A new instance of Context.
- #verify(username) ⇒ Object
Constructor Details
Instance Attribute Details
#username ⇒ Object (readonly)
Returns the value of attribute username.
11 12 13 |
# File 'lib/hrr_rb_ssh/authentication/method/none/context.rb', line 11 def username @username end |
Instance Method Details
#verify(username) ⇒ Object
19 20 21 22 23 |
# File 'lib/hrr_rb_ssh/authentication/method/none/context.rb', line 19 def verify username @logger.info { "verify username" } @logger.debug { "username is #{username}, @username is #{@username}" } username == @username end |