Class: Toast::TwitterAccount

Inherits:
Object
  • Object
show all
Defined in:
lib/toast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#passwordObject

Returns the value of attribute password.



24
25
26
# File 'lib/toast.rb', line 24

def password
  @password
end

#usernameObject

Returns the value of attribute username.



24
25
26
# File 'lib/toast.rb', line 24

def username
  @username
end