Module: Cupid::Schedule

Included in:
Cupid
Defined in:
lib/cupid/schedule.rb

Instance Method Summary collapse

Instance Method Details

#schedule(ui, time, options = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/cupid/schedule.rb', line 4

def schedule(ui, time, options={})
  resource :schedule, :action => 'start',
    :options => schedule_options,
    :schedule => schedule_fields(time.iso8601, options),
    :interactions => interactions_fields(ui.customer_key)
end