Class: Ish::EmailTemplate

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps
Defined in:
lib/ish/email_template.rb

Constant Summary collapse

LAYOUTS =
%w| plain
m20221201react m20221222merryxmas
marketing_react_1
marketing_ror_1 marketing_ror_2
marketing_wordpres_1 marketing_wordpress_2
piousbox_roundborders
plain
wasyaco_roundborders |

Instance Method Summary collapse

Instance Method Details

#get_bindingObject

2023-03-04 vp This works!



27
28
29
30
# File 'lib/ish/email_template.rb', line 27

def get_binding
  @lead = Lead.where( email: '[email protected]' ).first
  binding()
end