payoneer 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/payoneer/request.rb +4 -2
- metadata +1 -1
data/lib/payoneer/request.rb
CHANGED
@@ -20,9 +20,11 @@ module Payoneer
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def host
|
23
|
-
|
23
|
+
sandbox = config.environment.eql?(:production) ? "" : "sandbox."
|
24
|
+
subdomain = config.client_cert ? "apicert." : "api."
|
25
|
+
root_domain = "payoneer.com"
|
24
26
|
|
25
|
-
|
27
|
+
[subdomain, sandbox, root_domain].join()
|
26
28
|
end
|
27
29
|
|
28
30
|
def configure_security
|