Class: Smartfm::Auth::Basic
- Inherits:
-
Object
- Object
- Smartfm::Auth::Basic
- Defined in:
- lib/smartfm/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/smartfm/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/smartfm/core/auth.rb', line 7 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
7 8 9 |
# File 'lib/smartfm/core/auth.rb', line 7 def username @username end |