Class: Emarsys::DeliveryMethod::Base
- Inherits:
-
Object
- Object
- Emarsys::DeliveryMethod::Base
- Defined in:
- lib/emarsys/delivery_method/base.rb
Instance Method Summary collapse
- #deliver!(mail) ⇒ Object
-
#initialize(_options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(_options = {}) ⇒ Base
Returns a new instance of Base.
4 5 |
# File 'lib/emarsys/delivery_method/base.rb', line 4 def initialize( = {}) end |
Instance Method Details
#deliver!(mail) ⇒ Object
8 9 10 |
# File 'lib/emarsys/delivery_method/base.rb', line 8 def deliver!(mail) ::Emarsys::Api::Services.new.email_queue get_customer(mail), build_params(mail) end |