Class: Webhookdb::Messages::Testers::WithFields

Inherits:
Base show all
Defined in:
lib/webhookdb/messages/specs.rb

Instance Method Summary collapse

Methods inherited from Base

#layout, #template_folder

Methods inherited from Webhookdb::Message::Template

#dispatch, #dispatch_email, #extra_fields, fixtured, #full_template_name, #layout, #layout_path, #liquify, #template_folder, #template_name, #template_path

Constructor Details

#initialize(a: nil, b: nil, c: nil, d: nil, e: nil) ⇒ WithFields

noinspection RubyInstanceVariableNamingConvention



32
33
34
35
36
37
38
39
# File 'lib/webhookdb/messages/specs.rb', line 32

def initialize(a: nil, b: nil, c: nil, d: nil, e: nil)
  @a = a
  @b = b
  @c = c
  @d = d
  @e = e
  super()
end

Instance Method Details

#liquid_dropsObject



41
42
43
# File 'lib/webhookdb/messages/specs.rb', line 41

def liquid_drops
  return super.merge(a: @a, b: @b, c: @c, d: @d, e: @e)
end