lib/racked.rb in racked-1.0.2 vs lib/racked.rb in racked-1.0.3
- old
+ new
@@ -119,10 +119,10 @@
end
def update_mailbox(options)
check_options(options, [:domain, :customer_number, :mailbox_type, :mailbox, :data_fields_hash])
#update a customer mailbox
- response = @server.put "/customers/#{@customer_number}/domains/#{@domain}/#{@mailbox_type}/mailboxes/#{@mailbox}", @data_fields_hash
+ response = @server.put "/customers/#{@customer_number}/domains/#{@domain}/#{@mailbox_type}/mailboxes/#{@mailbox}", @data_fields_hash, @server.json_format
# puts response.inspect
# puts response['x-error-message']
# puts response.body.inspect
return response
#response = JSON.parse(response.body )
\ No newline at end of file