Sha256: ddaabdb902564cb7c125006f99d7f82200b597afe4613ac5e9feb95d271b99a1

Contents?: true

Size: 321 Bytes

Versions: 8

Compression:

Stored size: 321 Bytes

Contents

require "xeroizer/models/bills"
require "xeroizer/models/sales"

module Xeroizer
  module Record
    
    class PaymentTermsModel < BaseModel
      set_permissions :read
    end
    
    class PaymentTerms < Base
      has_one :bills, :model_name => 'Bills'
      has_one :sales, :model_name => 'Sales'
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
xeroizer-3.0.1 lib/xeroizer/models/payment_terms.rb
xeroizer-3.0.0 lib/xeroizer/models/payment_terms.rb
xeroizer-3-pre-beta-3.0.0.pre.beta lib/xeroizer/models/payment_terms.rb
xeroizer-2.20.0 lib/xeroizer/models/payment_terms.rb
xeroizer-2.19.0 lib/xeroizer/models/payment_terms.rb
xeroizer-2.18.1 lib/xeroizer/models/payment_terms.rb
xeroizer-2.17.1 lib/xeroizer/models/payment_terms.rb
xeroizer-2.16.5 lib/xeroizer/models/payment_terms.rb