Class: Crunchbase::Models::AutocompleteEntity
- Defined in:
- lib/crunchbase/models/autocomplete_entity.rb
Overview
For AutocompleteEntity
Instance Method Summary collapse
Methods inherited from Entity
#as_json, #fields, #setup_relationships
Methods included from Mappings
#card_num_field, #model_mappings
Methods included from Utilities::Response
Instance Method Details
#basis_fields ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/crunchbase/models/autocomplete_entity.rb', line 12 def basis_fields %w[ identifier facet_ids short_description ] end |
#field_ids ⇒ Object
8 9 10 |
# File 'lib/crunchbase/models/autocomplete_entity.rb', line 8 def field_ids basis_fields end |
#parse_response(response) ⇒ Object
20 21 22 |
# File 'lib/crunchbase/models/autocomplete_entity.rb', line 20 def parse_response(response) dynamic_attributes(self, field_ids, response) end |