class RubyXmlNfe::AutXml
Attributes
cnpj[R]
xml[R]
Public Class Methods
new(xml, params)
click to toggle source
# File lib/ruby_xml_nfe/aut_xml.rb, line 5 def initialize(xml, params) @xml = xml @cnpj = params[:CNPJ] end
Public Instance Methods
build()
click to toggle source
# File lib/ruby_xml_nfe/aut_xml.rb, line 10 def build xml.autXML do xml.CNPJ cnpj end end