lib/stripe/customer.rb in stripe-3.6.0 vs lib/stripe/customer.rb in stripe-3.7.0
- old
+ new
@@ -7,10 +7,11 @@
extend Stripe::APIOperations::NestedResource
OBJECT_NAME = "customer".freeze
save_nested_resource :source
- nested_resource_class_methods :source
+ nested_resource_class_methods :source,
+ operations: %i[create retrieve update delete list]
# The API request for deleting a card or bank account and for detaching a
# source object are the same.
class << self
alias detach_source delete_source