lib/stripe/resources/account.rb in stripe-4.21.1 vs lib/stripe/resources/account.rb in stripe-4.21.2
- old
+ new
@@ -19,10 +19,10 @@
nested_resource_class_methods :person,
operations: %i[create retrieve update delete list]
def reject(params = {}, opts = {})
resp, opts = request(:post, resource_url + "/reject", params, opts)
- Util.convert_to_stripe_object(resp.data, opts)
+ initialize_from(resp.data, opts)
end
save_nested_resource :external_account
nested_resource_class_methods :external_account,