class AsposeSlidesCloud::AxisType

Constants

HORIZONTAL_AXIS
SECONDARY_HORIZONTAL_AXIS
SECONDARY_VERTICAL_AXIS
VERTICAL_AXIS

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/aspose_slides_cloud/models/axis_type.rb, line 36
def build_from_hash(value)
  constantValues = AxisType.constants.select { |c| AxisType::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #AxisType" if constantValues.empty?
  value
end