Class: App42::ImageProcessor::Image
- Inherits:
-
App42Response
- Object
- App42Response
- App42::ImageProcessor::Image
- Defined in:
- lib/imageProcessor/Image.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#convertedImage ⇒ Object
Returns the value of attribute convertedImage.
-
#convertedImageTinyUrl ⇒ Object
Returns the value of attribute convertedImageTinyUrl.
-
#height ⇒ Object
Returns the value of attribute height.
-
#name ⇒ Object
Returns the value of attribute name.
-
#originalImage ⇒ Object
Returns the value of attribute originalImage.
-
#originalImageTinyUrl ⇒ Object
Returns the value of attribute originalImageTinyUrl.
-
#percentage ⇒ Object
Returns the value of attribute percentage.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Attributes inherited from App42Response
#isResponseSuccess, #strResponse, #totalRecords
Instance Method Summary collapse
-
#to_s ⇒ Object
Returns the Image Response in JSON format.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def action @action end |
#convertedImage ⇒ Object
Returns the value of attribute convertedImage.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def convertedImage @convertedImage end |
#convertedImageTinyUrl ⇒ Object
Returns the value of attribute convertedImageTinyUrl.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def convertedImageTinyUrl @convertedImageTinyUrl end |
#height ⇒ Object
Returns the value of attribute height.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def height @height end |
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def name @name end |
#originalImage ⇒ Object
Returns the value of attribute originalImage.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def originalImage @originalImage end |
#originalImageTinyUrl ⇒ Object
Returns the value of attribute originalImageTinyUrl.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def originalImageTinyUrl @originalImageTinyUrl end |
#percentage ⇒ Object
Returns the value of attribute percentage.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def percentage @percentage end |
#width ⇒ Object
Returns the value of attribute width.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def width @width end |
#x ⇒ Object
Returns the value of attribute x.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
16 17 18 |
# File 'lib/imageProcessor/Image.rb', line 16 def y @y end |
Instance Method Details
#to_s ⇒ Object
Returns the Image Response in JSON format.
36 37 38 |
# 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 |