Class: Webhookdb::Messages::NewCustomer

Inherits:
Webhookdb::Message::Template show all
Defined in:
lib/webhookdb/messages/new_customer.rb

Class Method Summary collapse

Instance Method Summary collapse

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