Sha256: 57bf5d68cf044559d2deb8dd90574c3cfca99876109172105959b66b66feee00

Contents?: true

Size: 537 Bytes

Versions: 12

Compression:

Stored size: 537 Bytes

Contents

module Xeroizer
  module Record
    
    class JournalModel < BaseModel
        
      set_permissions :read
      
    end
    
    class Journal < Base
      
      set_primary_key :journal_id
      
      guid      :journal_id
      date      :journal_date, :internal_name => :date
      string    :journal_number
      datetime_utc  :created_date_utc, :api_name => 'CreatedDateUTC'
      string    :reference
      guid      :source_id
      string    :source_type
      
      has_many  :journal_lines
       
    end
    
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
xeroizer-3.0.1 lib/xeroizer/models/journal.rb
xeroizer-3.0.0 lib/xeroizer/models/journal.rb
xeroizer-3-pre-beta-3.0.0.pre.beta lib/xeroizer/models/journal.rb
xeroizer-2.20.0 lib/xeroizer/models/journal.rb
xeroizer-2.19.0 lib/xeroizer/models/journal.rb
xeroizer-2.18.1 lib/xeroizer/models/journal.rb
xeroizer-2.17.1 lib/xeroizer/models/journal.rb
xeroizer-2.16.5 lib/xeroizer/models/journal.rb
xeroizer-2.16.4 lib/xeroizer/models/journal.rb
xeroizer-2.16.3 lib/xeroizer/models/journal.rb
xeroizer-2.16.1 lib/xeroizer/models/journal.rb
xeroizer-2.16.0 lib/xeroizer/models/journal.rb