Class: AmznSpApi::FulfillmentInboundApiModel::PrepInstruction
- Inherits:
-
Object
- Object
- AmznSpApi::FulfillmentInboundApiModel::PrepInstruction
- Defined in:
- lib/fulfillment_inbound_api_model/models/prep_instruction.rb
Constant Summary collapse
- POLYBAGGING =
'Polybagging'.freeze
- BUBBLE_WRAPPING =
'BubbleWrapping'.freeze
- TAPING =
'Taping'.freeze
- BLACK_SHRINK_WRAPPING =
'BlackShrinkWrapping'.freeze
- LABELING =
'Labeling'.freeze
- HANG_GARMENT =
'HangGarment'.freeze
- SET_CREATION =
'SetCreation'.freeze
- BOXING =
'Boxing'.freeze
- REMOVE_FROM_HANGER =
'RemoveFromHanger'.freeze
- DEBUNDLE =
'Debundle'.freeze
- SUFFOCATION_STICKERING =
'SuffocationStickering'.freeze
- CAP_SEALING =
'CapSealing'.freeze
- SET_STICKERING =
'SetStickering'.freeze
- BLANK_STICKERING =
'BlankStickering'.freeze
- NO_PREP =
'NoPrep'.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
33 34 35 36 37 38 |
# File 'lib/fulfillment_inbound_api_model/models/prep_instruction.rb', line 33 def build_from_hash(value) constantValues = PrepInstruction.constants.select { |c| PrepInstruction.const_get(c) == value } raise "Invalid ENUM value #{value} for class #PrepInstruction" if constantValues.empty? value end |