def upload
      return Response::Failure.new(nil, message: "File is not exist") unless @image.exist?

      response = RestClient.post HOST, thumb_width: thumb_width, upload: @image.file

      if response.code == SUCCESS_STATUS
        Response::Success.new(response)
      else
        Response::Failure.new(response)
      end
    end
def upload
      return Response::Failure.new(nil, message: "File is not exist") unless @image.exist?

      response = RestClient.post HOST, thumb_width: thumb_width, upload: @image.file

      if response.code == SUCCESS_STATUS
        Response::Success.new(response)
      else
        Response::Failure.new(response)
      end
    end
Public: Init a ImageForest Object

 path  - Image's path, right now must be an absolute path

 Example

   path = '/Users/kevin/Desktop/image.jpeg'
   image_forest = ImageForest.new(path)

 Returns an ImageForest object

 TODO:
   -  path can be a relative path
   -  how about upload a list of images (idea)
 Public: upload an image to HOST

 Example

  Upload::ImageForest.new(path).upload

 Returns an Response object
   Can be Response::Failure and Response::Success

   - If @image isn't exist -> return a Response::Failure with status "File not found
   - If response.code is 200 -> return a Response::Success with response object
   - If response.code isn't 200 (4x, 5x) -> return a Response::Failure