Sha256: fd1209e32c50ae9d1ddf630b6a705407331f4706ba584464a170a19a47a2221a

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

module Timbradocfdi
  class Generator


    ##
    # Registro emisor
    def registroEmisor(rfcEmisor, base64Cer, base64Key, contrasena)
      
      options = {
        :usuarioIntegrador =>   @user,
        :rfcEmisor         =>   rfcEmisor,
        :base64Cer         =>   file_reader(base64Cer),
        :base64Key         =>   file_reader(base64Key),
        :contrasena        =>   contrasena
      }

      response = request("registra_emisor", options)
      parse_result_registro_emisor response.body
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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