Sha256: 48b7156c1ccbe5116d7950e52ca63f675d5309bb793b40fa724e895773daf836

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 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

1 entries across 1 versions & 1 rubygems

Version Path
afipws-1.1.0 lib/afipws/client.rb