Class: BrNfe::Servico::Base

Inherits:
Base show all
Defined in:
lib/br_nfe/servico/base.rb

Direct Known Subclasses

BrNfe::Servico::Betha::Base

Instance Attribute Summary collapse

Attributes inherited from Base

#certificado_password, #certificado_path, #certificado_value, #env

Instance Method Summary collapse

Methods inherited from Base

#certificado, #certificado=, #certificado_obrigatorio?, #client_wsdl, #env_namespace, #method_wsdl, #namespace_identifier, #namespaces, #original_response, #response, #wsdl, #wsdl_encoding, #xml_builder

Methods included from Helper::HaveEmitente

#emitente, #emitente=

Methods inherited from ActiveModelBase

#assign_attributes, #default_values

Constructor Details

#initialize(attributes = {}) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/br_nfe/servico/base.rb', line 5

def initialize(attributes = {})
	self.lote_rps = [] # Para poder utilizar o << para adicionar rps
	super
end

Instance Attribute Details

#lote_rpsObject

Returns the value of attribute lote_rps.



10
11
12
# File 'lib/br_nfe/servico/base.rb', line 10

def lote_rps
  @lote_rps
end

#numero_lote_rpsObject

Returns the value of attribute numero_lote_rps.



11
12
13
# File 'lib/br_nfe/servico/base.rb', line 11

def numero_lote_rps
  @numero_lote_rps
end

#operacaoObject

Returns the value of attribute operacao.



12
13
14
# File 'lib/br_nfe/servico/base.rb', line 12

def operacao
  @operacao
end