Sha256: 86e8ee50b8460542972aaeeeb971f03071bb5c53df2d75e3219419380e36fbfb
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42Response.rb' # # # This Image object is the value object which contains the properties of Image. # # module App42 module ImageProcessor class Image < App42Response attr_accessor :name, :action, :originalImage, :convertedImage, :percentage, :width, :height, :x, :y, :originalImageTinyUrl, :convertedImageTinyUrl @name @action @originalImage @convertedImage @percentage @width @height @x @y @convertedImageTinyUrl @originalImageTinyUrl # # Returns the Image Response in JSON format. # # @return the response in JSON format. # # def to_s return "Name : #{@name}" + "Action : #{@action}" + "originalImage : #{@originalImage}" + "convertedImage : #{@convertedImage}" + "percentage : #{@percentage}" + "width : #{@width}" + "height : #{@height}" + "x : #{@x}" + "y : #{@y}"; end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_RUBY_SDK-0.8.3 | lib/imageProcessor/Image.rb |