class App42::ImageProcessor::Image

Attributes

action[RW]
convertedImage[RW]
convertedImageTinyUrl[RW]
height[RW]
name[RW]
originalImage[RW]
originalImageTinyUrl[RW]
percentage[RW]
width[RW]
x[RW]
y[RW]

Public Instance Methods

to_s() click to toggle source

Returns the Image Response in JSON format.

@return the response in JSON format.

# File lib/imageProcessor/Image.rb, line 36
def to_s
  return  "Name : #{@name}" + "Action : #{@action}" + "originalImage : #{@originalImage}" + "convertedImage : #{@convertedImage}" + "percentage : #{@percentage}" + "width : #{@width}" + "height : #{@height}" + "x : #{@x}" + "y : #{@y}";
end