Class: Stripe::SourceService::CreateParams::Redirect

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/source_service.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.



435
436
437
# File 'lib/stripe/services/source_service.rb', line 435

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.



433
434
435
# File 'lib/stripe/services/source_service.rb', line 433

def return_url
  @return_url
end