README.mkd in desk-1.0.3 vs README.mkd in desk-1.0.4
- old
+ new
@@ -260,13 +260,13 @@
######
# Update a customer
Desk.update_customer(123,
:first_name => "Johnny",
- :emails => {
+ :emails => [
{ :type => "work", :value => "johnny@acme.com" },
{ :type => "other", :value => "johnny@other.com" }
- },
+ ],
:custom_fields => { :level => "super" }
)
# Update an integration URL
Desk.update_integration_url(10, :enabled => false)