Class: Spree::SkrillTransaction
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spree::SkrillTransaction
- Defined in:
- app/models/spree/skrill_transaction.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create_from_postback(params) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'app/models/spree/skrill_transaction.rb', line 9 def self.create_from_postback(params) SkrillTransaction.create(:email => params[:pay_from_email], :amount => params[:mb_amount], :currency => params[:mb_currency], :transaction_id => params[:mb_transaction_id], :customer_id => params[:customer_id], :payment_type => params[:payment_type]) end |
Instance Method Details
#actions ⇒ Object
5 6 7 |
# File 'app/models/spree/skrill_transaction.rb', line 5 def actions [] end |