def create_customer(customer)
      if !customer
        raise StandardError.new("Missing Customer")
      end

      url = "/customers.json"

      begin
        # We need to set reload flag to true to receive created object back
        customer[:reload] = true
        item = Client.create_item(@auth, url, customer.to_json)
        Customer.new(item)
      rescue StandardError => e
        puts "Could not create customer: #{e.message}"
        false
      end
    end
def create_customer(customer)
      if !customer
        raise StandardError.new("Missing Customer")
      end

      url = "/customers.json"

      begin
        # We need to set reload flag to true to receive created object back
        customer[:reload] = true
        item = Client.create_item(@auth, url, customer.to_json)
        Customer.new(item)
      rescue StandardError => e
        puts "Could not create customer: #{e.message}"
        false
      end
    end
Create Customer
 http://developer.helpscout.net/customers/create/

 Creates a new Customer.

 Request
  REST Method: POST
  URL: https://api.helpscout.net/v1/customers.json

  POST Parameters
  Name      Type      Required  Notes
  customer  Customer  Yes       The body of the request
  reload    boolean   No        Set to true to return the customer in the
                                response.
 Response
  Response   Name      Type    Notes
  Header     Status    Integer 201
  Header     Location  String  https://api.helpscout.net/v1/customer/{id}.json