Class: Bskyrb::Credentials
- Inherits:
-
Object
- Object
- Bskyrb::Credentials
- Defined in:
- lib/bskyrb/session.rb
Instance Attribute Summary collapse
-
#pw ⇒ Object
readonly
Returns the value of attribute pw.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, pw) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(username, pw) ⇒ Credentials
Returns a new instance of Credentials.
83 84 85 86 |
# File 'lib/bskyrb/session.rb', line 83 def initialize(username, pw) @username = username @pw = pw end |
Instance Attribute Details
#pw ⇒ Object (readonly)
Returns the value of attribute pw.
81 82 83 |
# File 'lib/bskyrb/session.rb', line 81 def pw @pw end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
81 82 83 |
# File 'lib/bskyrb/session.rb', line 81 def username @username end |