Sha256: 545d73d512df2c0ccfd6bc00b12d28cae621f2993f64bbb73b485134fee928fa

Contents?: true

Size: 249 Bytes

Versions: 50

Compression:

Stored size: 249 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Channel::Discount < Resource
    path '/channel/discounts'

    attribute :amount, type: :money

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
tickethub-0.3.79 lib/tickethub/channel/discount.rb
tickethub-0.3.78 lib/tickethub/channel/discount.rb
tickethub-0.3.77 lib/tickethub/channel/discount.rb
tickethub-0.3.76 lib/tickethub/channel/discount.rb
tickethub-0.3.75 lib/tickethub/channel/discount.rb
tickethub-0.3.74 lib/tickethub/channel/discount.rb
tickethub-0.3.73 lib/tickethub/channel/discount.rb
tickethub-0.3.72 lib/tickethub/channel/discount.rb
tickethub-0.3.71 lib/tickethub/channel/discount.rb
tickethub-0.3.70 lib/tickethub/channel/discount.rb
tickethub-0.3.68 lib/tickethub/channel/discount.rb
tickethub-0.3.67 lib/tickethub/channel/discount.rb
tickethub-0.3.66 lib/tickethub/channel/discount.rb
tickethub-0.3.65 lib/tickethub/channel/discount.rb
tickethub-0.3.64 lib/tickethub/channel/discount.rb
tickethub-0.3.63 lib/tickethub/channel/discount.rb
tickethub-0.3.62 lib/tickethub/channel/discount.rb
tickethub-0.3.61 lib/tickethub/channel/discount.rb
tickethub-0.3.60 lib/tickethub/channel/discount.rb
tickethub-0.3.59 lib/tickethub/channel/discount.rb