Class: AmznSpApi::FulfillmentOutboundApiModel::AdditionalLocationInfo
- Inherits:
-
Object
- Object
- AmznSpApi::FulfillmentOutboundApiModel::AdditionalLocationInfo
- Defined in:
- lib/fulfillment_outbound_api_model/models/additional_location_info.rb
Constant Summary collapse
- AS_INSTRUCTED =
'AS_INSTRUCTED'.freeze
- CARPORT =
'CARPORT'.freeze
- CUSTOMER_PICKUP =
'CUSTOMER_PICKUP'.freeze
- DECK =
'DECK'.freeze
- DOOR_PERSON =
'DOOR_PERSON'.freeze
- FRONT_DESK =
'FRONT_DESK'.freeze
- FRONT_DOOR =
'FRONT_DOOR'.freeze
- GARAGE =
'GARAGE'.freeze
- GUARD =
'GUARD'.freeze
- MAIL_ROOM =
'MAIL_ROOM'.freeze
- MAIL_SLOT =
'MAIL_SLOT'.freeze
- MAILBOX =
'MAILBOX'.freeze
- MC_BOY =
'MC_BOY'.freeze
- MC_GIRL =
'MC_GIRL'.freeze
- MC_MAN =
'MC_MAN'.freeze
- MC_WOMAN =
'MC_WOMAN'.freeze
- NEIGHBOR =
'NEIGHBOR'.freeze
- OFFICE =
'OFFICE'.freeze
- OUTBUILDING =
'OUTBUILDING'.freeze
- PATIO =
'PATIO'.freeze
- PORCH =
'PORCH'.freeze
- REAR_DOOR =
'REAR_DOOR'.freeze
- RECEPTIONIST =
'RECEPTIONIST'.freeze
- RECEIVER =
'RECEIVER'.freeze
- SECURE_LOCATION =
'SECURE_LOCATION'.freeze
- SIDE_DOOR =
'SIDE_DOOR'.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
44 45 46 47 48 49 |
# File 'lib/fulfillment_outbound_api_model/models/additional_location_info.rb', line 44 def build_from_hash(value) constantValues = AdditionalLocationInfo.constants.select { |c| AdditionalLocationInfo.const_get(c) == value } raise "Invalid ENUM value #{value} for class #AdditionalLocationInfo" if constantValues.empty? value end |