Module: BrNfe

Extended by:
ActiveSupport::Autoload
Includes:
Helper, Service
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/service/rps.rb,
lib/br_nfe/destinatario.rb,
lib/br_nfe/service/base.rb,
lib/br_nfe/service/item.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/service/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/service/intermediario.rb,
lib/br_nfe/service/thema/v1/base.rb,
lib/br_nfe/helper/have_destinatario.rb,
lib/br_nfe/response/service/default.rb,
lib/br_nfe/service/betha/v1/gateway.rb,
lib/br_nfe/service/simpliss/v1/base.rb,
lib/br_nfe/helper/have_intermediario.rb,
lib/br_nfe/helper/values_ts/service_v1.rb,
lib/br_nfe/response/service/paths/base.rb,
lib/br_nfe/response/service/nota_fiscal.rb,
lib/br_nfe/service/sc/florianopolis/base.rb,
lib/br_nfe/service/thema/v1/cancela_nfse.rb,
lib/br_nfe/helper/have_condicao_pagamento.rb,
lib/br_nfe/service/betha/v1/consulta_nfse.rb,
lib/br_nfe/service/thema/v1/consulta_nfse.rb,
lib/br_nfe/response/service/build_response.rb,
lib/br_nfe/service/simpliss/v1/cancela_nfse.rb,
lib/br_nfe/response/service/paths/v1/tc_nfse.rb,
lib/br_nfe/service/betha/v1/cancelamento_nfs.rb,
lib/br_nfe/service/simpliss/v1/consulta_nfse.rb,
lib/br_nfe/service/betha/v1/consulta_lote_rps.rb,
lib/br_nfe/service/betha/v1/recepcao_lote_rps.rb,
lib/br_nfe/service/thema/v1/consulta_lote_rps.rb,
lib/br_nfe/service/thema/v1/recepcao_lote_rps.rb,
lib/br_nfe/service/concerns/rules/consulta_nfse.rb,
lib/br_nfe/service/betha/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/service/sc/florianopolis/cancellation.rb,
lib/br_nfe/service/sc/florianopolis/emission_rps.rb,
lib/br_nfe/service/simpliss/v1/consulta_lote_rps.rb,
lib/br_nfe/service/simpliss/v1/recepcao_lote_rps.rb,
lib/br_nfe/service/thema/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/service/concerns/rules/cancelamento_nfs.rb,
lib/br_nfe/service/concerns/rules/recepcao_lote_rps.rb,
lib/br_nfe/service/simpliss/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/service/betha/v1/consulta_situacao_lote_rps.rb,
lib/br_nfe/service/concerns/rules/consulta_nfs_por_rps.rb,
lib/br_nfe/service/thema/v1/consulta_situacao_lote_rps.rb,
lib/br_nfe/service/thema/v1/recepcao_lote_rps_limitado.rb,
lib/br_nfe/service/simpliss/v1/consulta_situacao_lote_rps.rb,
lib/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta.rb,
lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta.rb,
lib/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta.rb,
lib/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta.rb,
lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta.rb,
lib/br_nfe/service/thema/v1/response_paths/servico_cancelar_nfse_resposta.rb,
lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta.rb,
lib/br_nfe/service/simpliss/v1/response_paths/servico_cancelar_nfse_resposta.rb,
lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_nfse_resposta.rb,
lib/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta.rb,
lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta.rb,
lib/br_nfe/service/simpliss/v1/response_paths/servico_enviar_lote_rps_resposta.rb,
lib/br_nfe/service/thema/v1/response_paths/servico_consultar_nfse_rps_resposta.rb,
lib/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta.rb,
lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_lote_rps_resposta.rb,
lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_nfse_rps_resposta.rb,
lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_situacao_lote_rps_resposta.rb

Overview

encoding UTF-8

Defined Under Namespace

Modules: Helper, Response, Service, 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::Service::Intermediario
@@condicao_pagamento_class =
BrNfe::CondicaoPagamento
@@rps_class =
BrNfe::Service::Rps
@@service_item_class =
BrNfe::Service::Item
@@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

.rootObject



46
47
48
# File 'lib/br_nfe.rb', line 46

def self.root
	File.expand_path '../..', __FILE__
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (BrNfe)

    the object that the method was called on



206
207
208
# File 'lib/br_nfe.rb', line 206

def self.setup
	yield self
end

.true_valuesObject



54
55
56
# File 'lib/br_nfe.rb', line 54

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