class AmzSpApi::AplusContentApiModel::DecoratorType
Constants
- LIST_ITEM
- LIST_ORDERED
- LIST_UNORDERED
- STYLE_BOLD
- STYLE_ITALIC
- STYLE_LINEBREAK
- STYLE_PARAGRAPH
- STYLE_UNDERLINE
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/aplus-content-api-model/models/decorator_type.rb, line 28 def build_from_hash(value) constantValues = DecoratorType.constants.select { |c| DecoratorType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DecoratorType" if constantValues.empty? value end