mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-16 00:02:00 -04:00
Adding BankAccount#verify
This commit is contained in:
parent
aab350e833
commit
cdc1165fc5
@ -4,6 +4,11 @@ module Stripe
|
||||
include Stripe::APIOperations::Delete
|
||||
extend Stripe::APIOperations::List
|
||||
|
||||
def verify(params={}, opts={})
|
||||
response, opts = request(:post, url + '/verify', params, opts)
|
||||
initialize_from(response, opts)
|
||||
end
|
||||
|
||||
def url
|
||||
if respond_to?(:customer)
|
||||
"#{Customer.url}/#{CGI.escape(customer)}/sources/#{CGI.escape(id)}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user