Method: AllQ::Release#snd
- Defined in:
- lib/allq/actions/release.rb
#snd(data) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/allq/actions/release.rb', line 4 def snd(data) job_id = data[:job_id] delay = data[:delay] || 0 send_data = base_send(job_id, delay) response = send_hash_as_json(send_data, true) result = rcv(response) return result["release"] && result["release"]["job_id"] end |