Sha256: 2b7444cccd4936cb4b5fe3b431bff1bb40636cd45fa31d9d93b02255d7b63c89

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

module Timbradocfdi
  class Generator


    ##
    # TimbraCFDI
    def timbraCFDI(xmlComprobante, idComprobante)

      options = {
        :usuarioIntegrador    =>   @user,
        :xmlComprobanteBase64 =>   file_reader(xmlComprobante),
        :idComprobante        =>   idComprobante,
      }

      response = request("timbra_cfdi", options)
      parse_result_timbraCFDI response.body
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
timbradocfdi-0.0.2 lib/timbradocfdi/stamping.rb