app
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class VerifyNumber
|
||||
class VerifyNumber
|
||||
|
||||
def self.send_message(phone, pin)
|
||||
|
||||
url = "http://smspoh.com/api/http/send?key=5QfyN0OtGsFXnOqwtpVAGZCyPGP28nbX_Nm_oPsUw2ybq714T_951ycz3Ypl5URA&message=Doemal,+Pin+Code:+"+pin.to_s+"&recipients="+ phone.to_s
|
||||
url = "http://smspoh.com/api/http/send?key=5QfyN0OtGsFXnOqwtpVAGZCyPGP28nbX_Nm_oPsUw2ybq714T_951ycz3Ypl5URA&message=Local Kitchen,+Pin+Code:+"+pin.to_s+"&recipients="+ phone.to_s
|
||||
|
||||
begin
|
||||
@result = HTTParty.get(url.to_str)
|
||||
|
||||
Reference in New Issue
Block a user