Module: CohesiveMarketplaceMiddleware
- Defined in:
- lib/cohesive_marketplace_middleware.rb,
lib/cohesive_marketplace_middleware/version.rb
Defined Under Namespace
Classes: AuthMiddleware, CookieAuthMiddleware
Constant Summary
collapse
- VERSION =
"0.1.5"
Class Method Summary
collapse
Class Method Details
.collect_ignore_paths ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/cohesive_marketplace_middleware.rb', line 16
def self.collect_ignore_paths
ignore_path_prefix_string = ENV[COHESIVE_MIDDLEWARE_IGNORE_PATH_PREFIX]
result = []
if ignore_path_prefix_string && ignore_path_prefix_string != "nil"
result = ignore_path_prefix_string.split(",")
end
puts("Cohesive middleware ignoring paths: ", result)
result
end
|
.get_cohesive_auth_details(env) ⇒ Object
12
13
14
|
# File 'lib/cohesive_marketplace_middleware.rb', line 12
def self.get_cohesive_auth_details(env)
env[AUTH_DETAILS_ENV_KEY]
end
|