Skip to content

Commit

Permalink
[CLD-878-support-later-version]
Browse files Browse the repository at this point in the history
*Why:
 The gem previously supported versions up to 2018 but later versions were not supported

*How:
 Updated the netsuite savon config to set the wsdl and the endpoint level

[CLD-878]
  • Loading branch information
reginad1 committed May 11, 2020
1 parent 28125a4 commit e20132a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/netsuite/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def connection(params={}, credentials={})
log_level: log_level,
log: !silent, # turn off logging entirely if configured
}.update(params))
client.wsdl.endpoint = client.wsdl.endpoint.to_s.sub('//webservices.netsuite.com/', "//#{wsdl_domain}/")
cache_wsdl(client)
return client
end
Expand Down

0 comments on commit e20132a

Please sign in to comment.