lib/yammer-oauth2/client.rb in yammer-oauth2-0.2.0 vs lib/yammer-oauth2/client.rb in yammer-oauth2-0.3.0

- old
+ new

@@ -7,11 +7,11 @@ def initialize(client_id, client_secret, opts={}) site_url = opts.delete(:site_url) || DEFAULT_URL super(site_url, client_id, client_secret, opts) @token_path = '/oauth2/token' - @authorize_path = '/dialog/oauth/authorize' + @authorize_path = '/dialogs/oauth' yield self if block_given? self end # Generates the Yammer URL that the user will be redirected to in order to @@ -101,6 +101,6 @@ opts[:authenticate] ||= :body code = opts[:params].delete(:code) authorization_code.get_token(code, opts) end end -end \ No newline at end of file +end