Sha256: e0461388618d11f91a7483decef79c494a74063d672d2b7391f343c6372c96fa

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Invoice < Resource
    path '/supplier/invoices'

    require_relative 'reseller'

    attribute :from, type: :date
    attribute :to, type: :date
    attribute :due_on, type: :date

    attribute :paid_at, type: :datetime

    attribute :created_at, type: :datetime
    attribute :updated_at, type: :datetime

    association :reseller, Supplier::Reseller
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tickethub-0.3.100 lib/tickethub/supplier/invoice.rb
tickethub-0.3.99 lib/tickethub/supplier/invoice.rb