Module: Cas::Module

Defined in:
lib/bcms_cas/configuration.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



7
8
9
# File 'lib/bcms_cas/configuration.rb', line 7

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



9
10
11
12
13
# File 'lib/bcms_cas/configuration.rb', line 9

def configure()
  self.configuration ||= Configuration.new
  yield(configuration)
  self.configuration.execute
end