Comment for clarity

This commit is contained in:
Brian Krausz 2015-02-13 11:40:46 -08:00
parent d1bceb0041
commit 40405669e2

View File

@ -18,6 +18,7 @@ module Stripe
# For the sake of not breaking folks who pass in an OAuth key in opts, let's lurkily
# string match for it.
if opts == {} && id.is_a?(String) && id.start_with?('sk_')
# `super` properly assumes a String opts is the apiKey and normalizes as expected.
opts = id
id = nil
end