Sha256: 5657e89424450544d38d6d1c2bf051d44f9c901bafed2e6096c37ae0cfd91fd8
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
module Afipws class Client def initialize savon_options @savon = Savon.client savon_options.reverse_merge(soap_version: 2, ssl_version: :TLSv1_2) end def request action, body = nil @savon.call action, message: body rescue Savon::SOAPFault => e raise ServerError, e rescue HTTPClient::TimeoutError => e raise NetworkError, e end def operations @savon.operations end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
afipws-2.1.0 | lib/afipws/client.rb |
afipws-2.0.0 | lib/afipws/client.rb |