Browse files

youku

  • Loading branch information...
1 parent 18994be commit 558da0279dd1aefbab40d996ea0783dd6efa742e @xEasy committed Mar 10, 2013
Showing with 3 additions and 10 deletions.
  1. +1 −8 lib/omniauth-youku-connect.rb
  2. +2 −2 lib/omniauth/strategies/youku.rb
View
9 lib/omniauth-youku-connect.rb
@@ -1,9 +1,2 @@
require "omniauth-youku-connect/version"
-
-module Omniauth
- module Youku
- module Connect
- # Your code goes here...
- end
- end
-end
+require 'omniauth/strategies/youku'
View
4 lib/omniauth/strategies/youku.rb
@@ -5,7 +5,7 @@
module OmniAuth
module Strategies
class Youku < OmniAuth::Strategies::OAuth2
- option :name, "youku"
+ option :name, "Youku"
option :client_options, {
:site => 'https://openapi.youku.com/v2/',
@@ -52,4 +52,4 @@ def raw_info
end
end
-OmniAuth.config.add_camelization('qq_connect', 'QQConnect')
+OmniAuth.config.add_camelization('youku', 'Youku')

0 comments on commit 558da02

Please sign in to comment.