lib/stripe/resources/capability.rb in stripe-10.9.0.pre.beta.1 vs lib/stripe/resources/capability.rb in stripe-10.9.0

- old
+ new

@@ -7,9 +7,12 @@ # Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities) class Capability < APIResource include Stripe::APIOperations::Save OBJECT_NAME = "capability" + def self.object_name + "capability" + end def resource_url if !respond_to?(:account) || account.nil? raise NotImplementedError, "Capabilities cannot be accessed without an account ID."