Class: FmTimbradoCfdi::FmInformacionCfdi
- Inherits:
-
Object
- Object
- FmTimbradoCfdi::FmInformacionCfdi
- Defined in:
- lib/fm_timbrado_cfdi/fm_informacion_cfdi.rb
Instance Attribute Summary collapse
-
#descuento ⇒ Object
readonly
Returns the value of attribute descuento.
-
#subtotal ⇒ Object
readonly
Returns the value of attribute subtotal.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(nodo_timbre) ⇒ FmInformacionCfdi
constructor
A new instance of FmInformacionCfdi.
Constructor Details
#initialize(nodo_timbre) ⇒ FmInformacionCfdi
Returns a new instance of FmInformacionCfdi.
8 9 10 |
# File 'lib/fm_timbrado_cfdi/fm_informacion_cfdi.rb', line 8 def initialize ( nodo_timbre ) parse( nodo_timbre ) end |
Instance Attribute Details
#descuento ⇒ Object (readonly)
Returns the value of attribute descuento.
6 7 8 |
# File 'lib/fm_timbrado_cfdi/fm_informacion_cfdi.rb', line 6 def descuento @descuento end |
#subtotal ⇒ Object (readonly)
Returns the value of attribute subtotal.
6 7 8 |
# File 'lib/fm_timbrado_cfdi/fm_informacion_cfdi.rb', line 6 def subtotal @subtotal end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
6 7 8 |
# File 'lib/fm_timbrado_cfdi/fm_informacion_cfdi.rb', line 6 def total @total end |