Sha256: e1f88cda1fd8c3352350394825acf0e842baf67a79f95479aa4c8f7b5db7cce1

Contents?: true

Size: 276 Bytes

Versions: 19

Compression:

Stored size: 276 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Coupon < Resource
    path '/supplier/coupons'

    require_relative 'booking'
    require_relative 'product'

    collection :bookings, Supplier::Booking

    association :product, Supplier::Product
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tickethub-0.2.2 lib/tickethub/supplier/coupon.rb
tickethub-0.2.1 lib/tickethub/supplier/coupon.rb
tickethub-0.2.0 lib/tickethub/supplier/coupon.rb
tickethub-0.1.4 lib/tickethub/supplier/coupon.rb
tickethub-0.1.3 lib/tickethub/supplier/coupon.rb
tickethub-0.1.2 lib/tickethub/supplier/coupon.rb
tickethub-0.0.14 lib/tickethub/supplier/coupon.rb
tickethub-0.0.12 lib/tickethub/supplier/coupon.rb
tickethub-0.0.11 lib/tickethub/supplier/coupon.rb
tickethub-0.0.10 lib/tickethub/supplier/coupon.rb
tickethub-0.0.9 lib/tickethub/supplier/coupon.rb
tickethub-0.0.8 lib/tickethub/supplier/coupon.rb
tickethub-0.0.7 lib/tickethub/supplier/coupon.rb
tickethub-0.0.6 lib/tickethub/supplier/coupon.rb
tickethub-0.0.5 lib/tickethub/supplier/coupon.rb
tickethub-0.0.4 lib/tickethub/supplier/coupon.rb
tickethub-0.0.3 lib/tickethub/supplier/coupon.rb
tickethub-0.0.2 lib/tickethub/supplier/coupon.rb
tickethub-0.0.1 lib/tickethub/supplier/coupon.rb