refactoring the plugin interfaces to allow for better extensible

This commit is contained in:
Sam
2013-08-26 12:59:17 +10:00
parent 2eb55b74e4
commit 075002a6d5
11 changed files with 308 additions and 263 deletions
+2
View File
@@ -33,6 +33,8 @@ Rails.application.config.middleware.use OmniAuth::Builder do
:name => p.name,
:require => "omniauth-oauth2"
}.merge(p.options)
else
provider p.type, *p.options
end
end