lib/paid/api_operations/create.rb in paid-0.0.3 vs lib/paid/api_operations/create.rb in paid-0.0.4
- old
+ new
@@ -2,10 +2,10 @@
module APIOperations
module Create
module ClassMethods
def create(params={}, opts={})
api_key, headers = Util.parse_opts(opts)
- response, api_key = Paid.request(:post, self.url, api_key, params, headers)
+ response, api_key = Paid.request(:post, self.api_url, api_key, params, headers)
Util.convert_to_paid_object(response, api_key)
end
end
def self.included(base)