Class: GoogleCheckout::CheckoutRedirect
- Inherits:
-
Notification
- Object
- Notification
- GoogleCheckout::CheckoutRedirect
- Defined in:
- lib/google-checkout/notification.rb
Instance Attribute Summary
Attributes inherited from Notification
Instance Method Summary collapse
-
#redirect_url ⇒ Object
Returns redirect-url with ampersands escaped, as specified by Google API docs.
Methods inherited from Notification
#acknowledgment_xml, #error?, #initialize, #method_missing, parse, #serial_number, #state
Constructor Details
This class inherits a constructor from GoogleCheckout::Notification
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GoogleCheckout::Notification
Instance Method Details
#redirect_url ⇒ Object
Returns redirect-url with ampersands escaped, as specified by Google API docs.
207 208 209 |
# File 'lib/google-checkout/notification.rb', line 207 def redirect_url (@doc/"redirect-url").inner_html.gsub(/&/, '&') end |