Class: PinterestSdkClient::CatalogsFeedProcessingStatus
- Inherits:
-
Object
- Object
- PinterestSdkClient::CatalogsFeedProcessingStatus
- Defined in:
- lib/pinterest_sdk/models/catalogs_feed_processing_status.rb
Constant Summary collapse
- COMPLETED =
"COMPLETED".freeze
- COMPLETED_EARLY =
"COMPLETED_EARLY".freeze
- DISAPPROVED =
"DISAPPROVED".freeze
- FAILED =
"FAILED".freeze
- PROCESSING =
"PROCESSING".freeze
- QUEUED_FOR_PROCESSING =
"QUEUED_FOR_PROCESSING".freeze
- UNDER_APPEAL =
"UNDER_APPEAL".freeze
- UNDER_REVIEW =
"UNDER_REVIEW".freeze
Class Method Summary collapse
-
.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
.build_from_hash(value) ⇒ String
Builds the enum from string
30 31 32 |
# File 'lib/pinterest_sdk/models/catalogs_feed_processing_status.rb', line 30 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
37 38 39 40 41 |
# File 'lib/pinterest_sdk/models/catalogs_feed_processing_status.rb', line 37 def build_from_hash(value) constantValues = CatalogsFeedProcessingStatus.constants.select { |c| CatalogsFeedProcessingStatus::const_get(c) == value } raise "Invalid ENUM value #{value} for class #CatalogsFeedProcessingStatus" if constantValues.empty? value end |