13 lines
262 B
Text
13 lines
262 B
Text
|
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
|