Class: Webhookdb::Messages::NewCustomer
- Inherits:
-
Webhookdb::Message::Template
- Object
- Webhookdb::Message::Template
- Webhookdb::Messages::NewCustomer
- Defined in:
- lib/webhookdb/messages/new_customer.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(customer) ⇒ NewCustomer
constructor
A new instance of NewCustomer.
Methods inherited from Webhookdb::Message::Template
#dispatch, #dispatch_email, #extra_fields, #full_template_name, #layout, #layout_path, #liquid_drops, #liquify, #template_folder, #template_name, #template_path
Constructor Details
#initialize(customer) ⇒ NewCustomer
Returns a new instance of NewCustomer.
10 11 12 13 |
# File 'lib/webhookdb/messages/new_customer.rb', line 10 def initialize(customer) @customer = customer super() end |
Class Method Details
.fixtured(recipient) ⇒ Object
6 7 8 |
# File 'lib/webhookdb/messages/new_customer.rb', line 6 def self.fixtured(recipient) return self.new(recipient) end |