Sha256: 0e0b1374d29ec404fac786f9abf93af2d303453fb03303f3059b49f17d84e3f7

Contents?: true

Size: 313 Bytes

Versions: 7

Compression:

Stored size: 313 Bytes

Contents

module Afipws
  class Client
    def initialize savon_options
      @client = Savon.client savon_options.reverse_merge(soap_version: 2, ssl_version: :TLSv1)
    end

    def request action, body = nil
      @client.call action, message: body
    end

    def operations
      @client.operations
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
afipws-1.3.1 lib/afipws/client.rb
afipws-1.3.0 lib/afipws/client.rb
afipws-1.2.3 lib/afipws/client.rb
afipws-1.2.2 lib/afipws/client.rb
afipws-1.2.1 lib/afipws/client.rb
afipws-1.2.0 lib/afipws/client.rb
afipws-1.0.4 lib/afipws/client.rb