Class: VerifactuRails::Libro::Configuracion
- Inherits:
-
Struct
- Object
- Struct
- VerifactuRails::Libro::Configuracion
- Defined in:
- lib/verifactu_rails/libro.rb
Overview
Lo que identifica al SOFTWARE. Lo que identifica a la INSTALACIÓN (NumeroInstalacion) y al obligado va en la tabla de cadenas, no aquí: hay una instalación por fuente de facturación, no una por despliegue.
Instance Attribute Summary collapse
-
#al_detectar_anomalia ⇒ Object
Returns the value of attribute al_detectar_anomalia.
-
#entorno ⇒ Object
Returns the value of attribute entorno.
-
#id_sistema ⇒ Object
Returns the value of attribute id_sistema.
-
#multi_ot ⇒ Object
Returns the value of attribute multi_ot.
-
#multiples_ot ⇒ Object
Returns the value of attribute multiples_ot.
-
#nombre_sistema ⇒ Object
Returns the value of attribute nombre_sistema.
-
#productor_nif ⇒ Object
Returns the value of attribute productor_nif.
-
#productor_nombre ⇒ Object
Returns the value of attribute productor_nombre.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#al_detectar_anomalia ⇒ Object
Returns the value of attribute al_detectar_anomalia
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def al_detectar_anomalia @al_detectar_anomalia end |
#entorno ⇒ Object
Returns the value of attribute entorno
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def entorno @entorno end |
#id_sistema ⇒ Object
Returns the value of attribute id_sistema
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def id_sistema @id_sistema end |
#multi_ot ⇒ Object
Returns the value of attribute multi_ot
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def multi_ot @multi_ot end |
#multiples_ot ⇒ Object
Returns the value of attribute multiples_ot
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def multiples_ot @multiples_ot end |
#nombre_sistema ⇒ Object
Returns the value of attribute nombre_sistema
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def nombre_sistema @nombre_sistema end |
#productor_nif ⇒ Object
Returns the value of attribute productor_nif
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def productor_nif @productor_nif end |
#productor_nombre ⇒ Object
Returns the value of attribute productor_nombre
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def productor_nombre @productor_nombre end |
#version ⇒ Object
Returns the value of attribute version
37 38 39 |
# File 'lib/verifactu_rails/libro.rb', line 37 def version @version end |
Instance Method Details
#sistema_para(cadena) ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/verifactu_rails/libro.rb', line 41 def sistema_para(cadena) SistemaInformatico.new( nombre_razon: productor_nombre, nif: productor_nif, nombre_sistema: nombre_sistema, id_sistema: id_sistema, version: version, numero_instalacion: cadena.numero_instalacion, multi_ot: multi_ot || false, multiples_ot: multiples_ot || false ) end |