lib/groovehq/client/customers.rb in groovehq-1.0.3 vs lib/groovehq/client/customers.rb in groovehq-1.0.4
- old
+ new
@@ -1,11 +1,11 @@
module GrooveHQ
class Client
module Customers
- def update_customer(options)
- post("/tickets/#{ticket_number}/messages", options)
+ def update_customer(email, options)
+ put("/customers/#{email}", options)
end
def customer(email)
get("/customers/#{email}")
end