weibo_2 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/weibo_2/client.rb +1 -1
- data/lib/weibo_2/version.rb +1 -1
- metadata +1 -1
data/lib/weibo_2/client.rb
CHANGED
@@ -12,7 +12,7 @@ module WeiboOAuth2
|
|
12
12
|
@options[:token_url] = '/oauth2/access_token'
|
13
13
|
end
|
14
14
|
|
15
|
-
def authorize_url(params=
|
15
|
+
def authorize_url(params={})
|
16
16
|
params[:client_id] = @id unless params[:client_id]
|
17
17
|
params[:response_type] = 'code' unless params[:response_type]
|
18
18
|
params[:redirect_uri] = WeiboOAuth2::Config.redirect_uri unless params[:redirect_uri]
|
data/lib/weibo_2/version.rb
CHANGED