lib/stripe/resources/capability.rb in stripe-10.2.0.pre.beta.1 vs lib/stripe/resources/capability.rb in stripe-10.2.0
- old
+ new
@@ -15,10 +15,10 @@
if !respond_to?(:account) || account.nil?
raise NotImplementedError,
"Capabilities cannot be accessed without an account ID."
end
"#{Account.resource_url}/#{CGI.escape(account)}/capabilities" \
- "/#{CGI.escape(id)}"
+ "/#{CGI.escape(id)}"
end
def self.retrieve(_id, _opts = {})
raise NotImplementedError,
"Capabilities cannot be retrieve without an account ID. " \