lib/charger/credit_card.rb in charger-0.0.2 vs lib/charger/credit_card.rb in charger-0.0.3
- old
+ new
@@ -1,11 +1,8 @@
module Charger
class CreditCard
- include Virtus
- extend ActiveModel::Naming
- include ActiveModel::Conversion
- include ActiveModel::Validations
+ include Resource
VAULTS = %w{cancellation_message trust_commerce payment_express beanstream braintree1}
attribute :id, Integer
attribute :payment_profile_id, Integer