lib/paymill/transaction.rb in paymill-0.0.3 vs lib/paymill/transaction.rb in paymill-0.1.0
- old
+ new
@@ -3,10 +3,10 @@
include Paymill::Operations::All
include Paymill::Operations::Create
include Paymill::Operations::Find
attr_accessor :id, :amount, :status, :description, :livemode,
- :creditcard, :client, :created_at, :updated_at
+ :payment, :client, :created_at, :updated_at
def initialize(attributes = {})
attributes.each_pair do |key, value|
instance_variable_set("@#{key}", value)
end