Sha256: 15898524b0d91998624be0918fa3cb264572e3feb4fb1075bfadb56494872d55

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

module RubyXmlNfe
  class DatPag
    attr_reader :xml, :indPag, :tPag, :vPag

    def initialize(xml, params)
      @xml = xml
      @indPag = params[:indPag]
      @tPag = params[:tPag]
      @vPag = params[:vPag]
    end

    def build
      xml.detPag do
        xml.indPag indPag
        xml.tPag tPag
        xml.vPag vPag
      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/dat_pag.rb