Class: Tray::Checkout::Parser
- Inherits:
-
Object
- Object
- Tray::Checkout::Parser
- Defined in:
- lib/tray/checkout/parser.rb
Instance Method Summary collapse
Instance Method Details
#response(xml) ⇒ Object
5 6 7 8 |
# File 'lib/tray/checkout/parser.rb', line 5 def response(xml) response_parser = ResponseParser.get_parser(xml) response_parser.parse end |
#response_params(params) ⇒ Object
10 11 12 13 |
# File 'lib/tray/checkout/parser.rb', line 10 def response_params(params) response_params_parser = Tray::Checkout::ParamsParser.new(params) response_params_parser.parse end |