Module: BrNfe

Extended by:
ActiveSupport::Autoload
Includes:
Helper, Service
Defined in:
lib/br_nfe.rb,
lib/br_nfe/base.rb,
lib/br_nfe/person.rb,
lib/br_nfe/version.rb,
lib/br_nfe/endereco.rb,
lib/br_nfe/constants.rb,
lib/br_nfe/service/rps.rb,
lib/br_nfe/product/base.rb,
lib/br_nfe/service/base.rb,
lib/br_nfe/service/item.rb,
lib/br_nfe/helper/cpf_cnpj.rb,
lib/br_nfe/product/emitente.rb,
lib/br_nfe/product/value_nf.rb,
lib/br_nfe/service/emitente.rb,
lib/br_nfe/active_model_base.rb,
lib/br_nfe/condicao_pagamento.rb,
lib/br_nfe/service/betha/base.rb,
lib/br_nfe/product/gateway/base.rb,
lib/br_nfe/service/destinatario.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/association/have_address.rb,
lib/br_nfe/service/betha/v1/gateway.rb,
lib/br_nfe/service/response/default.rb,
lib/br_nfe/service/simpliss/v1/base.rb,
lib/br_nfe/association/have_emitente.rb,
lib/br_nfe/service/response/build/base.rb,
lib/br_nfe/service/association/have_rps.rb,
lib/br_nfe/service/response/nota_fiscal.rb,
lib/br_nfe/association/have_destinatario.rb,
lib/br_nfe/service/betha/v1/cancela_nfse.rb,
lib/br_nfe/service/response/cancelamento.rb,
lib/br_nfe/service/sc/florianopolis/base.rb,
lib/br_nfe/service/thema/v1/cancela_nfse.rb,
lib/br_nfe/service/betha/v1/consulta_nfse.rb,
lib/br_nfe/service/response/consulta_nfse.rb,
lib/br_nfe/service/thema/v1/consulta_nfse.rb,
lib/br_nfe/product/consulta_status_servico.rb,
lib/br_nfe/product/gateway/web_service_svrs.rb,
lib/br_nfe/service/simpliss/v1/cancela_nfse.rb,
lib/br_nfe/service/response/paths/v1/tc_nfse.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/response/consulta_lote_rps.rb,
lib/br_nfe/service/response/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/association/have_condicao_pagamento.rb,
lib/br_nfe/service/response/build/cancelamento.rb,
lib/br_nfe/service/concerns/rules/consulta_nfse.rb,
lib/br_nfe/service/response/build/consulta_nfse.rb,
lib/br_nfe/service/response/build/invoice_build.rb,
lib/br_nfe/service/betha/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/service/concerns/values_ts/service_v1.rb,
lib/br_nfe/service/response/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/association/have_intermediario.rb,
lib/br_nfe/service/concerns/rules/cancelamento_nfs.rb,
lib/br_nfe/service/concerns/rules/recepcao_lote_rps.rb,
lib/br_nfe/service/response/build/consulta_lote_rps.rb,
lib/br_nfe/service/response/build/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/response/build/consulta_nfs_por_rps.rb,
lib/br_nfe/service/response/consulta_situacao_lote_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/service/response/build/consulta_situacao_lote_rps.rb

Overview

encoding UTF-8

Defined Under Namespace

Modules: Association, Constants, Helper, Product, Service, StringMethods, Version Classes: ActiveModelBase, Base, CondicaoPagamento, Endereco, Person

Constant Summary collapse

@@endereco_class =
BrNfe::Endereco
@@emitente_service_class =
BrNfe::Service::Emitente
@@emitente_product_class =
BrNfe::Product::Emitente
@@destinatario_service_class =
BrNfe::Service::Destinatario
@@intermediario_service_class =
BrNfe::Service::Intermediario
@@condicao_pagamento_class =
BrNfe::CondicaoPagamento
@@rps_class =
BrNfe::Service::Rps
@@service_item_class =
BrNfe::Service::Item
@@client_wsdl_log =
false
@@client_wsdl_pretty_print_xml =
false

Class Method Summary collapse

Methods included from Helper

only_number

Class Method Details

.rootObject



41
42
43
# File 'lib/br_nfe.rb', line 41

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



49
50
51
# File 'lib/br_nfe.rb', line 49

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