class NfeReader::Delivery
Identificação do Local de Entrega
Attributes
address[R]
city[R]
city_code[R]
cnpj[R]
complement[R]
cpf[R]
neighborhood[R]
number[R]
state[R]
Public Class Methods
new(attrs = {})
click to toggle source
# File lib/nfe_reader/delivery.rb, line 10 def initialize(attrs = {}) @cnpj = attrs[:CNPJ] @cpf = attrs[:CPF] @address = attrs[:xLgr] @number = attrs[:nro] @complement = attrs[:xCpl] @neighborhood = attrs[:xBairro] @city_code = attrs[:cMun] @city = attrs[:xMun] @state = attrs[:UF] end