lib/ruote/storage/base.rb
# Places schedule in storage. Returns the id of the 'schedule' document.
# If the schedule got triggered immediately, nil is returned.
#
Places schedule in storage. Returns the id of the 'schedule' document.
If the schedule got triggered immediately, nil is returned.
Places schedule in storage . Returns the id of the ' schedule ' document . If the schedule got triggered immediately nil is returned .
def put_schedule(flavour, owner_fei, s, msg)
      doc = prepare_schedule_doc(flavour, owner_fei, s, msg)
      return nil unless doc
      r = put(doc)
      raise "put_schedule failed" if r != nil
      doc['_id']
    end
def put_schedule ( flavour , owner_fei , s , msg ) doc = prepare_schedule_doc ( flavour , owner_fei , s , msg ) return nil unless doc r = put ( doc ) raise "put_schedule failed" if r != nil doc [ '_id' ] end
Places schedule in storage.
Places schedule in storage .
flavour
owner_fei
s
msg