lib/racked.rb in racked-1.0.0 vs lib/racked.rb in racked-1.0.1
- old
+ new
@@ -130,10 +130,10 @@
end
def delete_mailbox(options)
#delete a customer mailbox
check_options(options, [:domain, :customer_number, :mailbox_type, :mailbox])
- response = @server.delete "/customers/#{@customer_number}/domains/#{@domain}/#{@mailbox_type}/mailboxes/#{@mailbox}"
+ response = @server.delete "/customers/#{@customer_number}/domains/#{@domain}/#{@mailbox_type}/mailboxes/#{@mailbox}", @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