Commit 6df3d97f authored by Chantal's avatar Chantal

add production URL and key

parent a9d1dc3a
......@@ -12,8 +12,8 @@ module Wedoops
include HTTParty
debug_output $stdout
#base_uri 'https://zoho-adaptor-uat.adamo.es/'
base_uri 'https://zoho-adaptor-staging.adamo.es/'
base_uri 'https://zoho-adaptor-uat.adamo.es/'
#base_uri 'https://zoho-adaptor-staging.adamo.es/'
http_proxy "prx.wedoops.io", "443", "adamo" , "fSJxGqibztyvGPb9"
attr_reader :subdomain, :uri
......@@ -63,7 +63,8 @@ module Wedoops
private
def set_key
@password = 'ZnsVmfSZwxq7KH1FquCIG8P9UrKDixHRAhci4UuYpRdzZ'
#@password = 'ZnsVmfSZwxq7KH1FquCIG8P9UrKDixHRAhci4UuYpRdzZ' ##Staging password
@password = '7KqI8FWVVfPayhcvYo9wxoUHZf3U0HWxYIuouyLizyF2N' ##Production (uat) password
@salt = (DateTime.now.strftime("%s").to_i / 86400).to_s
@key = Digest::SHA1.hexdigest(@password + @salt)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment