Class: Webhookdb::Messages::Testers::WithFields
- Inherits:
-
Base
- Object
- Webhookdb::Message::Template
- Base
- Webhookdb::Messages::Testers::WithFields
- Defined in:
- lib/webhookdb/messages/specs.rb
Instance Method Summary collapse
-
#initialize(a: nil, b: nil, c: nil, d: nil, e: nil) ⇒ WithFields
constructor
noinspection RubyInstanceVariableNamingConvention.
- #liquid_drops ⇒ Object
Methods inherited from Base
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_drops ⇒ Object
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 |