Sha256: 3e1d78e7c2379c7e6153dac4bcda9778e5f84bfd772e17f8659c7a31307fc5d8

Contents?: true

Size: 251 Bytes

Versions: 26

Compression:

Stored size: 251 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Reseller::Discount < Resource
    path '/reseller/discounts'

    attribute :amount, type: :money

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
tickethub-0.3.67 lib/tickethub/reseller/discount.rb
tickethub-0.3.66 lib/tickethub/reseller/discount.rb
tickethub-0.3.65 lib/tickethub/reseller/discount.rb
tickethub-0.3.64 lib/tickethub/reseller/discount.rb
tickethub-0.3.63 lib/tickethub/reseller/discount.rb
tickethub-0.3.62 lib/tickethub/reseller/discount.rb
tickethub-0.3.61 lib/tickethub/reseller/discount.rb
tickethub-0.3.60 lib/tickethub/reseller/discount.rb
tickethub-0.3.59 lib/tickethub/reseller/discount.rb
tickethub-0.3.58 lib/tickethub/reseller/discount.rb
tickethub-0.3.57 lib/tickethub/reseller/discount.rb
tickethub-0.3.56 lib/tickethub/reseller/discount.rb
tickethub-0.3.55 lib/tickethub/reseller/discount.rb
tickethub-0.3.54 lib/tickethub/reseller/discount.rb
tickethub-0.3.53 lib/tickethub/reseller/discount.rb
tickethub-0.3.52 lib/tickethub/reseller/discount.rb
tickethub-0.3.51 lib/tickethub/reseller/discount.rb
tickethub-0.3.50 lib/tickethub/reseller/discount.rb
tickethub-0.3.49 lib/tickethub/reseller/discount.rb
tickethub-0.3.47 lib/tickethub/reseller/discount.rb