lib/chargebee/models/customer.rb in chargebee-2.0.2 vs lib/chargebee/models/customer.rb in chargebee-2.0.3
- old
+ new
@@ -24,10 +24,10 @@
def self.create(params={}, env=nil, headers={})
Request.send('post', uri_path("customers"), params, env, headers)
end
def self.list(params={}, env=nil, headers={})
- Request.send('get', uri_path("customers"), params, env, headers)
+ Request.send_list_request('get', uri_path("customers"), params, env, headers)
end
def self.retrieve(id, env=nil, headers={})
Request.send('get', uri_path("customers",id.to_s), {}, env, headers)
end
\ No newline at end of file