Sha256: 5e6446c75bab23eb004f7524de8a39116c3f4a7c4422d131642326e03e7b8618

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

module Sigiss
  class FetchData < InvoiceData

    attr_accessor :nota, :serie, :autenticidade, :valor
    validates_presence_of :nota, :serie, :autenticidade, :valor

    def initialize(attributes = {})
      @nota = attributes[:nota]
      @serie = attributes[:serie]
      @autenticidade = attributes[:autenticidade]
      @valor = attributes[:valor]
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sigiss-0.1.4 lib/sigiss/invoice_data/fetch_data.rb
sigiss-0.1.3 lib/sigiss/invoice_data/fetch_data.rb
sigiss-0.1.2 lib/sigiss/invoice_data/fetch_data.rb
sigiss-0.1.1 lib/sigiss/invoice_data/fetch_data.rb