Class: GoogleCheckout::CheckoutRedirect

Inherits:
Notification show all
Defined in:
lib/google-checkout/notification.rb

Instance Method Summary collapse

Methods inherited from Notification

#acknowledgment_xml, #doc, #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_urlObject

Returns redirect-url with ampersands escaped, as specified by Google API docs.



348
349
350
# File 'lib/google-checkout/notification.rb', line 348

def redirect_url
  (doc/"redirect-url").inner_html.gsub(/&/, '&')
end