Class: Google4R::Checkout::CheckoutRedirectResponse
- Inherits:
-
Object
- Object
- Google4R::Checkout::CheckoutRedirectResponse
- Defined in:
- lib/google4r/checkout/commands.rb
Overview
CheckoutRedirectResponse instances are returned when a CheckoutCommand is successfully processed by Google Checkout.
Instance Attribute Summary collapse
-
#redirect_url ⇒ Object
readonly
The URL to redirect to.
-
#serial_number ⇒ Object
readonly
The serial number of the <checkout-redirect> response.
Instance Method Summary collapse
-
#initialize(serial_number, redirect_url) ⇒ CheckoutRedirectResponse
constructor
A new instance of CheckoutRedirectResponse.
Constructor Details
#initialize(serial_number, redirect_url) ⇒ CheckoutRedirectResponse
Returns a new instance of CheckoutRedirectResponse.
261 262 263 264 |
# File 'lib/google4r/checkout/commands.rb', line 261 def initialize(serial_number, redirect_url) @serial_number = serial_number @redirect_url = redirect_url end |
Instance Attribute Details
#redirect_url ⇒ Object (readonly)
The URL to redirect to.
259 260 261 |
# File 'lib/google4r/checkout/commands.rb', line 259 def redirect_url @redirect_url end |
#serial_number ⇒ Object (readonly)
The serial number of the <checkout-redirect> response.
256 257 258 |
# File 'lib/google4r/checkout/commands.rb', line 256 def serial_number @serial_number end |