Module: SynchronizeUsers
- Defined in:
- lib/synchronize-users.rb,
lib/synchronize-users/app.rb,
lib/synchronize-users/sync.rb,
lib/synchronize-users/version.rb,
lib/synchronize-users/from_group.rb,
lib/synchronize-users/target_group.rb
Defined Under Namespace
Classes: App, Configuration, FromGroup, Sync, TargetGroup
Constant Summary collapse
- GUEST =
10
- REPORTER =
20
- DEVELOPER =
30
- MASTER =
40
- OWNER =
50
- VERSION =
'0.0.4'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
17 18 19 |
# File 'lib/synchronize-users.rb', line 17 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
26 27 28 29 |
# File 'lib/synchronize-users.rb', line 26 def self.configure self.configuration ||= Configuration.new yield(configuration) end |
.load_config(config) ⇒ Object
20 21 22 23 24 |
# File 'lib/synchronize-users.rb', line 20 def self.load_config(config) instance_eval File.read(config), config configuration end |