Class: Chirpstream::Connect::User::Basic
- Inherits:
-
Object
- Object
- Chirpstream::Connect::User::Basic
- Defined in:
- lib/chirpstream/connect.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize(name, password) ⇒ Basic
constructor
A new instance of Basic.
- #oauth? ⇒ Boolean
Constructor Details
#initialize(name, password) ⇒ Basic
Returns a new instance of Basic.
20 21 22 23 |
# File 'lib/chirpstream/connect.rb', line 20 def initialize(name, password) @name = name @password = password end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/chirpstream/connect.rb', line 19 def name @name end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
19 20 21 |
# File 'lib/chirpstream/connect.rb', line 19 def password @password end |
Instance Method Details
#oauth? ⇒ Boolean
25 26 27 |
# File 'lib/chirpstream/connect.rb', line 25 def oauth? false end |