Method: Algolia::Ingestion::BigQueryDataType#build_from_hash
- Defined in:
- lib/algolia/models/ingestion/big_query_data_type.rb
#build_from_hash(value) ⇒ String
Builds the enum from string
26 27 28 29 |
# File 'lib/algolia/models/ingestion/big_query_data_type.rb', line 26 def build_from_hash(value) return value if BigQueryDataType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #BigQueryDataType" end |