Class: Composio::ModelIn
- Inherits:
-
Object
- Object
- Composio::ModelIn
- Defined in:
- lib/composio/models/model_in.rb
Constant Summary collapse
- QUERY =
"query".freeze
- HEADER =
"header".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
17 18 19 |
# File 'lib/composio/models/model_in.rb', line 17 def self.all_vars @all_vars ||= [QUERY, HEADER].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
24 25 26 |
# File 'lib/composio/models/model_in.rb', line 24 def self.build_from_hash(value) new.build_from_hash(value) end |