lib/omniauth/strategies/tent.rb in omniauth-tent-0.1.1 vs lib/omniauth/strategies/tent.rb in omniauth-tent-0.1.2
- old
+ new
@@ -13,10 +13,10 @@
AppLookupFailure = Class.new(Error)
AppAuthorizationCreateFailure = Class.new(Error)
StateMissmatchError = Class.new(Error)
option :get_app, lambda { |entity| }
- option :on_app_created, lambda { |app| }
+ option :on_app_created, lambda { |app, entity| }
option :app, { :name => nil, :icon => nil, :description => nil, :scopes => {}, :redirect_uris => nil }
option :profile_info_types, []
option :post_types, []
option :notification_url, ""