Module: Aker::Rack::ConfigurationHelper

Overview

Methods used by Rack middleware for reading configuration data out of the Rack environment.

Instance Method Summary collapse

Methods included from EnvironmentHelper

#authority, #configuration, #interactive?

Instance Method Details

#login_path(env) ⇒ Object



10
11
12
# File 'lib/aker/rack/configuration_helper.rb', line 10

def (env)
  configuration(env).parameters_for(:rack)[:login_path]
end

#logout_path(env) ⇒ Object



14
15
16
# File 'lib/aker/rack/configuration_helper.rb', line 14

def logout_path(env)
  configuration(env).parameters_for(:rack)[:logout_path]
end