Class: Stripe::SourceCreateParams::Redirect

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/source_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(return_url: nil) ⇒ Redirect

Returns a new instance of Redirect.



151
152
153
# File 'lib/stripe/params/source_create_params.rb', line 151

def initialize(return_url: nil)
  @return_url = return_url
end

Instance Attribute Details

#return_urlObject

The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application.



149
150
151
# File 'lib/stripe/params/source_create_params.rb', line 149

def return_url
  @return_url
end