class AmzSpApi::FulfillmentInboundApiModel::BoxContentsSource
Constants
- FEED
- INTERACTIVE
- N2_D_BARCODE
- NONE
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/fulfillment-inbound-api-model/models/box_contents_source.rb, line 24 def build_from_hash(value) constantValues = BoxContentsSource.constants.select { |c| BoxContentsSource::const_get(c) == value } raise "Invalid ENUM value #{value} for class #BoxContentsSource" if constantValues.empty? value end