lib/chargebee/models/customer.rb in chargebee-2.26.1 vs lib/chargebee/models/customer.rb in chargebee-2.27.0

- old
+ new

@@ -51,11 +51,11 @@ :entity_identifier_standard # OPERATIONS #----------- - def self.create(params={}, env=nil, headers={}) + 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_list_request('get', uri_path("customers"), params, env, headers) @@ -63,10 +63,10 @@ def self.retrieve(id, env=nil, headers={}) Request.send('get', uri_path("customers",id.to_s), {}, env, headers) end - def self.update(id, params={}, env=nil, headers={}) + def self.update(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s), params, env, headers) end def self.update_payment_method(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"update_payment_method"), params, env, headers) \ No newline at end of file