Module: MessageClient

Defined in:
lib/message_client.rb,
lib/message_client/mailer.rb,
lib/message_client/railtie.rb,
lib/message_client/version.rb

Defined Under Namespace

Classes: Error, Mailer, Railtie

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.add_action_mailer_delivery_method(name = :message_api, options = {}) ⇒ Object



10
11
12
13
14
# File 'lib/message_client/railtie.rb', line 10

def self.add_action_mailer_delivery_method(name = :message_api, options = {})
  ActiveSupport.on_load(:action_mailer) do
    add_delivery_method(name, MessageClient::Mailer, options)
  end
end