Commit 28c8c233 authored by Chantal's avatar Chantal

staging endpoint available

parent 4e4b5089
...@@ -13,8 +13,8 @@ module Wedoops ...@@ -13,8 +13,8 @@ module Wedoops
debug_output $stdout debug_output $stdout
#base_uri 'https://zoho-adaptor-uat.adamo.es/' #base_uri 'https://zoho-adaptor-uat.adamo.es/'
#base_uri 'https://zoho-adaptor-staging.adamo.es/' base_uri 'https://zoho-adaptor-staging.adamo.es/'
base_uri 'https://zoho-adaptor.adamo.es' #base_uri 'https://zoho-adaptor.adamo.es'
http_proxy "prx.wedoops.io", "443", "adamo" , "fSJxGqibztyvGPb9" http_proxy "prx.wedoops.io", "443", "adamo" , "fSJxGqibztyvGPb9"
attr_reader :subdomain, :uri attr_reader :subdomain, :uri
...@@ -68,8 +68,8 @@ module Wedoops ...@@ -68,8 +68,8 @@ module Wedoops
private private
def set_key def set_key
#@password = 'ZnsVmfSZwxq7KH1FquCIG8P9UrKDixHRAhci4UuYpRdzZ' ##Staging password @password = 'ZnsVmfSZwxq7KH1FquCIG8P9UrKDixHRAhci4UuYpRdzZ' ##Staging password
@password = '7KqI8FWVVfPayhcvYo9wxoUHZf3U0HWxYIuouyLizyF2N' ##Production (uat) password #@password = '7KqI8FWVVfPayhcvYo9wxoUHZf3U0HWxYIuouyLizyF2N' ##Production (uat) password
@salt = (DateTime.now.strftime("%s").to_i / 86400).to_s @salt = (DateTime.now.strftime("%s").to_i / 86400).to_s
@key = Digest::SHA1.hexdigest(@password + @salt) @key = Digest::SHA1.hexdigest(@password + @salt)
end end
......
# frozen_string_literal: true # frozen_string_literal: true
module Wedoops module Wedoops
module Zoholib module Zoholib
VERSION = '0.32' VERSION = '0.4'
end end
end end
\ No newline at end of file
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