This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in the terminal run brew install elasticsearch1.7.rb | |
class Elasticsearch17 < Formula | |
desc "Distributed search & analytics engine" | |
homepage "https://www.elastic.co/products/elasticsearch" | |
url "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.6.tar.gz" | |
sha256 "78affc30353730ec245dad1f17de242a4ad12cf808eaa87dd878e1ca10ed77df" | |
revision 1 | |
bottle :unneeded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sidekiq::ScheduleSet.new.each do |job| | |
job.klass.constantize.perform_in(job.score, *job.args) | |
job.delete | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"payload": { | |
"order_id": "12345678", | |
"payable_amount": 180, | |
"delivery_options": [ | |
{ | |
"invoice_key": "dbr", | |
"text": "Get your order in 50 mins at 0 rs extra", | |
"meta_data": { | |
"invoice_key": "dbr" |