class NFe::Transportadora

Attributes

CNPJ[RW]
IE[RW]
UF[RW]
xEnder[RW]
xMun[RW]
xNome[RW]

Public Instance Methods

attributes() click to toggle source
# File lib/nfe/entidades/infNFe/transp/transportadora.rb, line 12
def attributes
  @attributes = {
      "CNPJ" => CNPJ,
      "xNome" => xNome,
      "IE" => IE,
      "xEnder" => xEnder,
      "xMun" => xMun,
      "UF" => UF
    }
end
attributes=(params) click to toggle source
# File lib/nfe/entidades/infNFe/transp/transportadora.rb, line 23
def attributes=(params)
  @attributes = {
      "CNPJ" => params["CNPJ"],
      "xNome" => params["xNome"],
      "IE" => params["IE"],
      "xEnder" => params["xEnder"],
      "xMun" => params["xMun"],
      "UF" => params["UF"]
    }
end