Module: WelcomeCycle

Defined in:
lib/welcome_cycle.rb,
lib/welcome_cycle/email.rb,
lib/welcome_cycle/config.rb,
lib/welcome_cycle/driver.rb,
lib/welcome_cycle/version.rb,
lib/welcome_cycle/email_register.rb,
lib/generators/welcome_cycle/email/email_generator.rb,
lib/generators/welcome_cycle/install/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Config, Driver, Email, EmailRegister

Constant Summary collapse

VERSION =
"0.0.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



12
13
14
# File 'lib/welcome_cycle.rb', line 12

def config
  @config
end

Class Method Details

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

Yields:



15
16
17
18
# File 'lib/welcome_cycle.rb', line 15

def self.configure
  self.config ||= WelcomeCycle::Config.new
  yield(config)
end