Module: ActiveAccess

Defined in:
lib/active-access.rb,
lib/active-access/rails.rb,
lib/active-access/version.rb,
lib/active-access/middleware.rb,
lib/active-access/utility/config.rb,
lib/active-access/utility/hash_mapper.rb

Defined Under Namespace

Modules: Utility Classes: Middleware, Railtie

Constant Summary collapse

VERSION =
"0.6.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.application_rootObject

Returns the value of attribute application_root.



11
12
13
# File 'lib/active-access.rb', line 11

def application_root
  @application_root
end

.loggerObject

Returns the value of attribute logger.



11
12
13
# File 'lib/active-access.rb', line 11

def logger
  @logger
end

Class Method Details

.configObject



13
14
15
# File 'lib/active-access.rb', line 13

def config
  @config ||= Utility::Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/active-access.rb', line 17

def configure
  yield config
end