Module: Houdini::Model::ClassMethods

Defined in:
lib/houdini_rails/model.rb

Instance Method Summary collapse

Instance Method Details

#houdini(name, options) ⇒ Object



16
17
18
# File 'lib/houdini_rails/model.rb', line 16

def houdini(name, options)
  houdini_tasks[name.to_sym] = Houdini::Task.new(name.to_sym, options)
end

#houdini_tasksObject



20
21
22
# File 'lib/houdini_rails/model.rb', line 20

def houdini_tasks
  @houdini_tasks ||= {}
end