Class: Iknow::Auth::Basic
- Inherits:
-
Object
- Object
- Iknow::Auth::Basic
- Defined in:
- lib/iknow/core/auth.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, password) ⇒ Basic
constructor
A new instance of Basic.
Constructor Details
#initialize(username, password) ⇒ Basic
Returns a new instance of Basic.
9 10 11 12 |
# File 'lib/iknow/core/auth.rb', line 9 def initialize(username, password) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
7 8 9 |
# File 'lib/iknow/core/auth.rb', line 7 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
7 8 9 |
# File 'lib/iknow/core/auth.rb', line 7 def username @username end |