Class: TweetWatch::Account
- Inherits:
-
Object
- Object
- TweetWatch::Account
- Defined in:
- lib/tweet_watch/account.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret.
-
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
-
#screen_name ⇒ Object
Returns the value of attribute screen_name.
Instance Method Summary collapse
-
#initialize(screen_name, consumer_key, consumer_secret, access_token, access_token_secret) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(screen_name, consumer_key, consumer_secret, access_token, access_token_secret) ⇒ Account
Returns a new instance of Account.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/tweet_watch/account.rb', line 7 def initialize(screen_name, consumer_key, consumer_secret, access_token, access_token_secret) @screen_name = screen_name @consumer_key = consumer_key @consumer_secret = consumer_secret @access_token = access_token @access_token_secret = access_token_secret end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
4 5 6 |
# File 'lib/tweet_watch/account.rb', line 4 def access_token @access_token end |
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret.
4 5 6 |
# File 'lib/tweet_watch/account.rb', line 4 def access_token_secret @access_token_secret end |
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
4 5 6 |
# File 'lib/tweet_watch/account.rb', line 4 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
4 5 6 |
# File 'lib/tweet_watch/account.rb', line 4 def consumer_secret @consumer_secret end |
#screen_name ⇒ Object
Returns the value of attribute screen_name.
4 5 6 |
# File 'lib/tweet_watch/account.rb', line 4 def screen_name @screen_name end |