Class: Toast::TwitterAccount
- Inherits:
-
Object
- Object
- Toast::TwitterAccount
- Defined in:
- lib/toast.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username = nil, password = nil) ⇒ TwitterAccount
constructor
A new instance of TwitterAccount.
Constructor Details
#initialize(username = nil, password = nil) ⇒ TwitterAccount
Returns a new instance of TwitterAccount.
26 27 28 29 |
# File 'lib/toast.rb', line 26 def initialize(username = nil, password = nil) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
24 25 26 |
# File 'lib/toast.rb', line 24 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
24 25 26 |
# File 'lib/toast.rb', line 24 def username @username end |