class AmzSpApi::AplusContentApiModel::AsinBadge
Constants
- BRAND_NOT_ELIGIBLE
- CATALOG_NOT_FOUND
- CONTENT_NOT_PUBLISHED
- CONTENT_PUBLISHED
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/asin_badge.rb, line 24 def build_from_hash(value) constantValues = AsinBadge.constants.select { |c| AsinBadge::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AsinBadge" if constantValues.empty? value end