Module: BrNfe

Extended by:
ActiveSupport::Autoload
Includes:
Helper, Servico
Defined in:
lib/br_nfe.rb,
lib/br_nfe/base.rb,
lib/br_nfe/version.rb,
lib/br_nfe/emitente.rb,
lib/br_nfe/endereco.rb,
lib/br_nfe/servico/rps.rb,
lib/br_nfe/destinatario.rb,
lib/br_nfe/servico/base.rb,
lib/br_nfe/helper/cpf_cnpj.rb,
lib/br_nfe/helper/have_rps.rb,
lib/br_nfe/active_model_base.rb,
lib/br_nfe/condicao_pagamento.rb,
lib/br_nfe/servico/betha/base.rb,
lib/br_nfe/helper/have_address.rb,
lib/br_nfe/helper/have_emitente.rb,
lib/br_nfe/helper/string_methods.rb,
lib/br_nfe/servico/intermediario.rb,
lib/br_nfe/helper/have_destinatario.rb,
lib/br_nfe/servico/betha/v1/gateway.rb,
lib/br_nfe/servico/betha/v2/gateway.rb,
lib/br_nfe/servico/response/default.rb,
lib/br_nfe/helper/have_intermediario.rb,
lib/br_nfe/servico/betha/v2/gera_nfse.rb,
lib/br_nfe/servico/betha/build_response.rb,
lib/br_nfe/servico/response/nota_fiscal.rb,
lib/br_nfe/helper/have_condicao_pagamento.rb,
lib/br_nfe/servico/betha/v1/consulta_nfse.rb,
lib/br_nfe/servico/betha/v1/build_response.rb,
lib/br_nfe/servico/betha/v2/build_response.rb,
lib/br_nfe/servico/betha/v1/cancelamento_nfs.rb,
lib/br_nfe/servico/betha/v2/cancelamento_nfs.rb,
lib/br_nfe/servico/betha/v1/consulta_lote_rps.rb,
lib/br_nfe/servico/betha/v1/recepcao_lote_rps.rb,
lib/br_nfe/servico/betha/v2/consulta_lote_rps.rb,
lib/br_nfe/servico/betha/v2/recepcao_lote_rps.rb,
lib/br_nfe/servico/betha/v2/substituicao_nfse.rb,
lib/br_nfe/servico/betha/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/servico/betha/v2/consulta_nfse_por_rps.rb,
lib/br_nfe/servico/betha/v2/envio_lote_rps_sincrono.rb,
lib/br_nfe/servico/betha/v1/consulta_situacao_lote_rps.rb

Overview

Copyright © 2015 Bruno M. Mergen

Author:

Defined Under Namespace

Modules: Helper, Servico, StringMethods, Version Classes: ActiveModelBase, Base, CondicaoPagamento, Destinatario, Emitente, Endereco

Constant Summary collapse

@@endereco_class =
BrNfe::Endereco
@@emitente_class =
BrNfe::Emitente
@@destinatario_class =
BrNfe::Destinatario
@@intermediario_class =
BrNfe::Servico::Intermediario
@@condicao_pagamento_class =
BrNfe::CondicaoPagamento
@@rps_class =
BrNfe::Servico::Rps
@@client_wsdl_ssl_verify_mode =
:none
@@client_wsdl_log =
false
@@client_wsdl_pretty_print_xml =
false

Class Method Summary collapse

Methods included from Helper

only_number

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (BrNfe)

    the object that the method was called on



139
140
141
# File 'lib/br_nfe.rb', line 139

def self.setup
	yield self
end

.true_valuesObject



33
34
35
# File 'lib/br_nfe.rb', line 33

def self.true_values
	[true, :true, 'true', 't', :t, 1, '1', :TRUE, 'TRUE', 'T']
end