Class: AftershipAPI::Model::TagV1
- Inherits:
-
Object
- Object
- AftershipAPI::Model::TagV1
- Defined in:
- lib/aftership-tracking-sdk/models/tag_v1.rb
Constant Summary collapse
- PENDING =
"Pending".freeze
- INFORECEIVED =
"InfoReceived".freeze
- INTRANSIT =
"InTransit".freeze
- OUTFORDELIVERY =
"OutForDelivery".freeze
- ATTEMPTFAIL =
"AttemptFail".freeze
- DELIVERED =
"Delivered".freeze
- AVAILABLEFORPICKUP =
"AvailableForPickup".freeze
- EXCEPTION =
"Exception".freeze
- EXPIRED =
"Expired".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
15 16 17 |
# File 'lib/aftership-tracking-sdk/models/tag_v1.rb', line 15 def self.all_vars @all_vars ||= [PENDING,INFORECEIVED,INTRANSIT,OUTFORDELIVERY,ATTEMPTFAIL,DELIVERED,AVAILABLEFORPICKUP,EXCEPTION,EXPIRED,].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
22 23 24 |
# File 'lib/aftership-tracking-sdk/models/tag_v1.rb', line 22 def self.build_from_hash(value) new.build_from_hash(value) end |