Class: AsposeSlidesCloud::ShapeThumbnailBounds
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::ShapeThumbnailBounds
- Defined in:
- lib/aspose_slides_cloud/models/shape_thumbnail_bounds.rb
Constant Summary collapse
- SLIDE =
'Slide'.freeze
- SHAPE =
'Shape'.freeze
- APPEARANCE =
'Appearance'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
35 36 37 38 39 |
# File 'lib/aspose_slides_cloud/models/shape_thumbnail_bounds.rb', line 35 def build_from_hash(value) constantValues = ShapeThumbnailBounds.constants.select { |c| ShapeThumbnailBounds::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ShapeThumbnailBounds" if constantValues.empty? value end |