mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Remove warnings "method redefined"
This commit is contained in:
parent
b93ec37122
commit
4364add1c4
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,6 @@ module OmniAuth
|
||||||
|
|
||||||
base.extend ClassMethods
|
base.extend ClassMethods
|
||||||
base.class_eval do
|
base.class_eval do
|
||||||
attr_reader :app, :env, :options, :response
|
|
||||||
|
|
||||||
option :setup, false
|
option :setup, false
|
||||||
option :skip_info, false
|
option :skip_info, false
|
||||||
end
|
end
|
||||||
|
@ -106,6 +104,8 @@ module OmniAuth
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
attr_reader :app, :env, :options, :response
|
||||||
|
|
||||||
# Initializes the strategy by passing in the Rack endpoint,
|
# Initializes the strategy by passing in the Rack endpoint,
|
||||||
# the unique URL segment name for this strategy, and any
|
# the unique URL segment name for this strategy, and any
|
||||||
# additional arguments. An `options` hash is automatically
|
# additional arguments. An `options` hash is automatically
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue