lib/houdini_rails/task.rb in houdini-rails3-0.1.3 vs lib/houdini_rails/task.rb in houdini-rails3-0.1.4
- old
+ new
@@ -1,8 +1,8 @@
module Houdini
class Task
- attr_accessor :name, :api, :on, :if, :price, :title, :form_template, :after_submit, :on_task_completion
+ attr_accessor :name, :api, :on, :if, :price, :title, :form_template, :after_submit, :on_task_completion, :matched_answers_size
def initialize(name, options)
@name = name
@api = options[:api] || "simple"
@on = options[:on] || :after_create
@@ -10,8 +10,9 @@
@price = options[:price]
@title = options[:title]
@form_template = options[:form_template]
@after_submit = options[:after_submit]
@on_task_completion = options[:on_task_completion] || :update_attributes
+ @matched_answers_size = options[:matched_answers_size]
end
end
end
\ No newline at end of file