class PortalModule::ConfigHelper

Public Class Methods

credentials() click to toggle source
# File lib/portal_module/config_helper.rb, line 28
def self.credentials
  PortalModule.configuration.credentials[env]
end
env() click to toggle source
# File lib/portal_module/config_helper.rb, line 16
def self.env
  @env ||= PortalModule.configuration.default_environment
end
env=(env) click to toggle source
# File lib/portal_module/config_helper.rb, line 12
def self.env=(env)
  @env = env.to_sym
end
page_factory() click to toggle source
# File lib/portal_module/config_helper.rb, line 24
def self.page_factory
  @page_factory ||= PageFactory.new
end
page_factory=(factory) click to toggle source
# File lib/portal_module/config_helper.rb, line 20
def self.page_factory=(factory)
  @page_factory = factory
end