Class: Myun2::TwitterShell::Client
- Inherits:
-
TwitterOAuth::Client
- Object
- TwitterOAuth::Client
- Myun2::TwitterShell::Client
- Defined in:
- lib/myun2/twitter_shell/client.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(params) ⇒ Client
Returns a new instance of Client.
7 8 9 10 11 12 13 14 |
# File 'lib/myun2/twitter_shell/client.rb', line 7 def initialize(params) super( consumer_key: Myun2::TwitterShell::ConsumerKey::KEY, consumer_secret: Myun2::TwitterShell::ConsumerKey::SECRET, token: params[:access_token], secret: params[:access_token_secret], ) end |