def create(entity)
      url = "#{DEFAULT_HOST}/#{entity.path}"
      uri = URI(url)
      response = http_response(:post, uri, body: entity.to_hash)
      entity.attributes = JSON.parse(response.body)
      entity
    end
def create(entity)
      url = "#{DEFAULT_HOST}/#{entity.path}"
      uri = URI(url)
      response = http_response(:post, uri, body: entity.to_hash)
      entity.attributes = JSON.parse(response.body)
      entity
    end
Creates an `entity` in your Harvest account.

 @param entity [Harvesting::Models::Base] A new record in your Harvest account
 @return [Harvesting::Models::Base] A subclass of `Harvesting::Models::Base` updated with the response from Harvest