Class: BrNfe::Servico::Base
- Inherits:
-
Base
- Object
- ActiveModelBase
- Base
- BrNfe::Servico::Base
- Defined in:
- lib/br_nfe/servico/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#lote_rps ⇒ Object
Returns the value of attribute lote_rps.
-
#numero_lote_rps ⇒ Object
Returns the value of attribute numero_lote_rps.
-
#operacao ⇒ Object
Returns the value of attribute operacao.
Attributes inherited from Base
#certificado_password, #certificado_path, #certificado_value, #env
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Base
constructor
A new instance of Base.
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
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_rps ⇒ Object
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_rps ⇒ Object
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 |
#operacao ⇒ Object
Returns the value of attribute operacao.
12 13 14 |
# File 'lib/br_nfe/servico/base.rb', line 12 def operacao @operacao end |