class NfeReader::Armament

Attributes

barrel[R]
description[R]
kind[R]
serie[R]

Public Class Methods

new(attrs = {}) click to toggle source

Fields Values

tpArma : 0 - Uso permitido;

1 - Uso restrito;
# File lib/nfe_reader/product/armament.rb, line 13
def initialize(attrs = {})
  # Tipo de Arma
  @kind = attrs[:tpArma]
  # Serie
  @serie = attrs[:nSerie]
  # Cano
  @barrel = attrs[:nCano]
  # Descricao
  @description = attrs[:descr]
end