Sha256: 791db8f0c2803286cbe9f62908a400b502c3e4fec4a34942b7228c5411d13ea7

Contents?: true

Size: 321 Bytes

Versions: 50

Compression:

Stored size: 321 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Channel::Refund < Resource
    path '/channel/refunds'

    require_relative 'payment'

    association :payment, Channel::Payment

    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.58 lib/tickethub/channel/refund.rb
tickethub-0.3.57 lib/tickethub/channel/refund.rb
tickethub-0.3.55 lib/tickethub/channel/refund.rb
tickethub-0.3.54 lib/tickethub/channel/refund.rb
tickethub-0.3.53 lib/tickethub/channel/refund.rb
tickethub-0.3.52 lib/tickethub/channel/refund.rb
tickethub-0.3.51 lib/tickethub/channel/refund.rb
tickethub-0.3.50 lib/tickethub/channel/refund.rb
tickethub-0.3.49 lib/tickethub/channel/refund.rb
tickethub-0.3.47 lib/tickethub/channel/refund.rb