lib/tickethub/supplier/payment/card.rb in tickethub-0.0.2 vs lib/tickethub/supplier/payment/card.rb in tickethub-0.0.3
- old
+ new
@@ -1,18 +1,14 @@
require_relative '../payment'
module Tickethub
class Supplier::Payment::Card < Supplier::Payment
- polymorphic 'card', attribute: :type
+ polymorphic 'card'
path '/supplier/payments/card'
require_relative '../card'
- require_relative '../gateway'
-
require_relative '../../address'
association :card, Supplier::Card
- association :gateway, Supplier::Gateway
-
association :address, Tickethub::Address
end
end
\ No newline at end of file