Sha256: 45702e6a8201a3209df4ebc736bfc6c33eac00dedc26a9e6e0123f7e64b3a307
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 Bytes
Contents
module Houdini class Task attr_accessor :name, :api, :on, :if, :price, :title, :form_template, :after_submit, :on_task_completion def initialize(name, options) @name = name @api = "simple" # options[:strategy] @on = options[:on] || :after_create @if = options[:if] || true @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 end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
houdini-rails3-0.1.2 | lib/houdini_rails/task.rb |
houdini-rails3-0.1.0 | lib/houdini_rails/task.rb |
houdini-rails-0.1.6 | lib/houdini-rails/task.rb |