houdini/lib/generators/email_job/templates/email_job_template.erb
2018-08-16 10:58:01 -05:00

14 lines
No EOL
351 B
Text

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module JobTypes
class <%= name %> < EmailJob
attr_reader <%= attribs.map{|i| ":#{i}"}.join(", ") %>
def initialize(<%= attribs.join(", ") %>)<% attribs.each {|i| %>
@<%= i %> = <%= i %><% }%>
end
def perform
fail
end
end
end