Module: CourierRails

Defined in:
lib/courier_rails.rb,
lib/courier_rails/railtie.rb,
lib/courier_rails/version.rb,
lib/courier_rails/exceptions.rb,
lib/courier_rails/data_options.rb,
lib/courier_rails/delivery_method.rb

Defined Under Namespace

Modules: DataOptions Classes: Configuration, DeliveryException, DeliveryMethod, Railtie

Constant Summary collapse

VERSION =
"0.1.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



13
14
15
# File 'lib/courier_rails.rb', line 13

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



17
18
19
20
# File 'lib/courier_rails.rb', line 17

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