Class: Crunchbase::Models::EventAppearance

Inherits:
Entity
  • Object
show all
Defined in:
lib/crunchbase/models/event_appearance.rb

Overview

Get the EventAppearances data from API

Constant Summary collapse

RESOURCE_LIST =
'event_appearances'

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

dynamic_attributes

Instance Method Details

#basis_fieldsObject



21
22
23
24
25
26
27
28
29
30
31
# File 'lib/crunchbase/models/event_appearance.rb', line 21

def basis_fields
  %w[
    appearance_type
    identifier
    name
    permalink
    short_description
    event_starts_on
    uuid
  ]
end

#field_idsObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/crunchbase/models/event_appearance.rb', line 10

def field_ids
  %w[
    created_at
    updated_at
    entity_def_id
    event_identifier
    event_location_identifiers
    participant_identifier
  ] + basis_fields
end

#full_cardsObject



33
34
35
36
# File 'lib/crunchbase/models/event_appearance.rb', line 33

def full_cards
  %w[
  ]
end