class NfeReader::Carrier
Attributes
address[R]
city[R]
cnpj[R]
cpf[R]
name[R]
state[R]
state_registration[R]
Public Class Methods
new(attrs = {})
click to toggle source
# File lib/nfe_reader/carrier.rb, line 8 def initialize(attrs = {}) @cnpj = attrs[:CNPJ] @cpf = attrs[:CPF] @name = attrs[:xNome] @state_registration = attrs[:IE] @address = attrs[:xEnder] @city = attrs[:xMun] @state = attrs[:UF] end