update membership rebate for food and beverage
This commit is contained in:
@@ -66,6 +66,9 @@ class Customer < ApplicationRecord
|
||||
},
|
||||
:timeout => 10
|
||||
)
|
||||
rescue HTTParty::Error
|
||||
response = {status: false, message: "Can't open membership server " }
|
||||
|
||||
rescue Net::OpenTimeout
|
||||
response = { status: false , message: "Server Time out"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user