Module: OmniAuth::Artsy

Defined in:
lib/omniauth-artsy/config.rb

Defined Under Namespace

Modules: Config

Class Method Summary collapse

Class Method Details

.configObject



30
31
32
# File 'lib/omniauth-artsy/config.rb', line 30

def config
  Config
end

.configureObject



18
19
20
21
22
23
24
# File 'lib/omniauth-artsy/config.rb', line 18

def configure
  if block_given?
    yield(Config)
    reconfigure_strategy
  end
  Config
end

.reconfigure_strategyObject



26
27
28
# File 'lib/omniauth-artsy/config.rb', line 26

def reconfigure_strategy
  Strategies::Artsy.configure
end