lib/paymill/credit_card.rb in paymill-0.0.2 vs lib/paymill/credit_card.rb in paymill-0.0.3
- old
+ new
@@ -1,13 +1,16 @@
module Paymill
class CreditCard
+ include Paymill::Operations::All
+ include Paymill::Operations::Create
+ include Paymill::Operations::Find
+
attr_accessor :id, :card_type, :country, :expire_month, :expire_year,
:card_holder, :last4, :created_at, :updated_at
def initialize(attributes = {})
attributes.each_pair do |key, value|
instance_variable_set("@#{key}", value)
end
- @attributes = attributes
end
end
-end
\ No newline at end of file
+end