Class: Composio::Status
- Inherits:
-
Object
- Object
- Composio::Status
- Defined in:
- lib/composio/models/status.rb
Constant Summary collapse
- INITIALIZED =
"initialized".freeze
- RUNNING =
"running".freeze
- CACHING =
"caching".freeze
- CANCELLED =
"cancelled".freeze
- FINISHED =
"finished".freeze
- EXITED =
"exited".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
21 22 23 |
# File 'lib/composio/models/status.rb', line 21 def self.all_vars @all_vars ||= [INITIALIZED, RUNNING, CACHING, CANCELLED, FINISHED, EXITED].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
28 29 30 |
# File 'lib/composio/models/status.rb', line 28 def self.build_from_hash(value) new.build_from_hash(value) end |