Class: Crunchbase::Models::PressReference

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

Overview

Get the person data from API

Constant Summary collapse

RESOURCE_LIST =
'press_references'

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
# File 'lib/crunchbase/models/press_reference.rb', line 21

def basis_fields
  %w[
    uuid
    url
    title
    author
    posted_on
    publisher
  ]
end

#field_idsObject



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

def field_ids
  %w[
    activity_entities
    created_at
    entity_def_id
    identifier
    thumbnail_url
    updated_at
  ] + basis_fields
end

#full_cardsObject



32
33
34
# File 'lib/crunchbase/models/press_reference.rb', line 32

def full_cards
  %w[]
end