class NFe::Veiculo

Attributes

UF[RW]
placa[RW]

Public Instance Methods

attributes() click to toggle source

attr_accessor :RNTC “RNTC” => RCNT “RNTC” => params

# File lib/nfe/entidades/infNFe/transp/veiculo.rb, line 13
def attributes
  @attributes = {
      "placa" => placa,
      "UF" => UF
    }
end
attributes=(params) click to toggle source
# File lib/nfe/entidades/infNFe/transp/veiculo.rb, line 20
def attributes=(params)
  @attributes = {
      "placa" => params["placa"],
      "UF" => params["UF"]
    }
end