lib/yammer/oauth2_client.rb in yam-2.1.2 vs lib/yammer/oauth2_client.rb in yam-2.2.0
- old
+ new
@@ -10,13 +10,13 @@
# FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
# See the Apache Version 2.0 License for specific language governing
# permissions and limitations under the License.
-require 'oauth2'
+require 'oauth2-client'
module Yammer
- class OAuth2Client < OAuth2::Client
+ class OAuth2Client < OAuth2Client::Client
SITE_URL = 'https://www.yammer.com'
TOKEN_PATH = '/oauth2/token'
AUTHORIZE_PATH = '/dialog/oauth'
\ No newline at end of file