Fix account API resource bug.

This commit is contained in:
Amber Feng 2012-11-08 14:39:54 -08:00
parent a841cbe0f4
commit be31c1934f
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
=== 1.7.7 2012-11-07
* Add support for updating charge disputes.
* Fix Account API resource bug.
=== 1.7.6 2012-10-30
* Add support for creating invoices.

View File

@ -4,7 +4,7 @@ module Stripe
if self == SingletonAPIResource
raise NotImplementedError.new('SingletonAPIResource is an abstract class. You should perform actions on its subclasses (Account, etc.)')
end
"/#{CGI.escape(class_name.downcase)}"
"/v1/#{CGI.escape(class_name.downcase)}"
end
def url