Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Ballantyne committed Jul 1, 2012
2 parents cce252b + bc0283d commit 12826af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weibo/oauth.rb
Expand Up @@ -6,7 +6,7 @@ class OAuth
attr_reader :ctoken, :csecret, :consumer_options attr_reader :ctoken, :csecret, :consumer_options


def initialize(ctoken, csecret, options={}) def initialize(ctoken, csecret, options={})
@ctoken, @csecret, @consumer_options = ctoken, csecret, {} @ctoken, @csecret, @consumer_options = ctoken, csecret, options


if options[:sign_in] if options[:sign_in]
@consumer_options[:authorize_path] = '/oauth/authorize' @consumer_options[:authorize_path] = '/oauth/authorize'
Expand Down

0 comments on commit 12826af

Please sign in to comment.