Sha256: 5e4dd4f71fd7c8b4338a0f430eec762b0979bd7c00fe66b556f6f7378183d9aa

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require 'ruby_xml_nfe/icms00'

module RubyXmlNfe
  class Icms
    attr_reader :xml, :icms00_params

    def initialize(xml, params)
      @xml = xml
      @icms00_params = params[:ICMS00]
    end

    def build
      xml.ICMS do
        icms00 = RubyXmlNfe::Icms00.new(xml, icms00_params)
        icms00.build
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_xml_nfe-0.1.0 lib/ruby_xml_nfe/icms.rb