Module: DMCourier
- Extended by:
- Configurable
- Defined in:
- lib/dm_courier.rb,
lib/dm_courier/errors.rb,
lib/dm_courier/default.rb,
lib/dm_courier/railtie.rb,
lib/dm_courier/version.rb,
lib/dm_courier/configurable.rb,
lib/dm_courier/message_helper.rb,
lib/dm_courier/delivery_method.rb,
lib/dm_courier/service_locator.rb,
lib/dm_courier/services/mandrill.rb,
lib/dm_courier/services/sendgrid.rb,
lib/dm_courier/services/sparkpost.rb
Defined Under Namespace
Modules: Configurable, Default, ServiceLocator, Services Classes: DeliveryMethod, Error, InvalidService, Railtie
Constant Summary collapse
- VERSION =
"0.1.2".freeze
Instance Attribute Summary
Attributes included from Configurable
#api_key, #async, #auto_html, #auto_text, #bcc_address, #from, #important, #inline_css, #log_content, #return_path_domain, #service_name, #signing_domain, #subaccount, #tags, #track_clicks, #track_opens, #track_url_without_query_string, #tracking_domain
Class Method Summary collapse
Methods included from Configurable
configure, keys, options, reset!, same_options?
Class Method Details
.delivery_method ⇒ Object
12 13 14 15 16 |
# File 'lib/dm_courier.rb', line 12 def delivery_method return @delivery_method if defined?(@delivery_method) && @delivery_method.() @delivery_method = DMCourier::DeliveryMethod.new() end |