app order with order
This commit is contained in:
@@ -591,8 +591,8 @@ class Order < ApplicationRecord
|
||||
Rails.logger.debug '...... order sync completed .....'
|
||||
end
|
||||
end
|
||||
def self.send_message(phone, booking_id)
|
||||
url = "http://smspoh.com/api/http/send?key=5QfyN0OtGsFXnOqwtpVAGZCyPGP28nbX_Nm_oPsUw2ybq714T_951ycz3Ypl5URA&message=Your order "+booking_id.to_s+" is ready to pick up&recipients="+ phone.to_s
|
||||
def self.send_message(phone, order_id)
|
||||
url = "http://smspoh.com/api/http/send?key=5QfyN0OtGsFXnOqwtpVAGZCyPGP28nbX_Nm_oPsUw2ybq714T_951ycz3Ypl5URA&message=Your order "+order_id.to_s+" is ready to pick up&recipients="+ phone.to_s
|
||||
|
||||
begin
|
||||
@result = HTTParty.get(url.to_str)
|
||||
|
||||
Reference in New Issue
Block a user