Skip to content

Commit

Permalink
Updates sandbox url to new address
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mutter committed Jan 26, 2018
1 parent 5b9f8de commit bd27bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/netsuite/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def wsdl(wsdl = nil)
else
attributes[:wsdl] ||= begin
if sandbox
"https://webservices.sandbox.netsuite.com/wsdl/v#{api_version}_0/netsuite.wsdl"
"https://system.netsuite.com/wsdl/v#{api_version}_0/netsuite.wsdl"
else
"https://#{wsdl_domain}/wsdl/v#{api_version}_0/netsuite.wsdl"
end
Expand All @@ -138,7 +138,7 @@ def wsdl_domain(wsdl_domain = nil)
else
# if sandbox, this parameter is ignored
if sandbox
'webservices.sandbox.netsuite.com'
'system.netsuite.com'
else
attributes[:wsdl_domain] ||= 'webservices.netsuite.com'
end
Expand Down

0 comments on commit bd27bb9

Please sign in to comment.