Class: Crunchbase::Models::Principal
- Defined in:
- lib/crunchbase/models/principal.rb
Overview
Get the Principal data from API
Constant Summary collapse
- RESOURCE_LIST =
'principals'
Instance Method Summary collapse
Methods inherited from Entity
#as_json, #fields, #parse_response, #setup_relationships
Methods included from Mappings
#card_num_field, #model_mappings
Methods included from Utilities::Response
Instance Method Details
#basis_fields ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/crunchbase/models/principal.rb', line 80 def basis_fields %w[ name uuid website short_description operating_status permalink permalink_aliases phone_number primary_job_title primary_organization contact_email aliases born_on closed_on categories company_type linkedin twitter facebook investor_stage investor_type ] end |
#field_ids ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/crunchbase/models/principal.rb', line 10 def field_ids %w[ category_groups created_at delisted_on description died_on entity_def_id equity_funding_total exited_on facet_ids first_name founded_on founder_identifiers funding_stage funding_total gender hub_tags identifier image_id image_url investor_identifiers ipo_status last_equity_funding_total last_equity_funding_type last_funding_at last_funding_total last_funding_type last_name layout_id location_group_identifiers location_identifiers num_alumni num_articles num_employees_enum num_enrollments num_event_appearances num_exits num_exits_ipo num_founded_organizations num_founders num_funding_rounds num_funds num_investments num_investments_funding_rounds num_investors num_jobs num_lead_investments num_lead_investors num_partner_investments num_portfolio_organizations program_application_deadline program_duration program_type rank_delta_d30 rank_delta_d7 rank_delta_d90 rank_principal revenue_range school_method school_program school_type status stock_exchange_symbol stock_symbol updated_at went_public_on ] + basis_fields end |
#full_cards ⇒ Object
106 107 108 109 |
# File 'lib/crunchbase/models/principal.rb', line 106 def full_cards %w[ ] end |