Class: Tray::Checkout::TransactionResponseParser
- Inherits:
-
ResponseParser
- Object
- ResponseParser
- Tray::Checkout::TransactionResponseParser
- Defined in:
- lib/tray/checkout/transaction_response_parser.rb
Instance Method Summary collapse
Methods inherited from ResponseParser
get_parser, #initialize, transaction?
Constructor Details
This class inherits a constructor from Tray::Checkout::ResponseParser
Instance Method Details
#parse ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/tray/checkout/transaction_response_parser.rb', line 4 def parse response = super if response.success? response.transaction = transaction response.payment = payment response.customer = customer end response end |