Class: Crunchbase::Models::Address

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

Overview

Get the person data from API

Constant Summary collapse

RESOURCE_LIST =
'addresses'

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



18
19
20
21
22
23
24
25
26
27
28
# File 'lib/crunchbase/models/address.rb', line 18

def basis_fields
  %w[
    uuid
    name
    postal_code
    street_1
    street_2
    identifier
    location_identifiers
  ]
end

#field_idsObject



10
11
12
13
14
15
16
# File 'lib/crunchbase/models/address.rb', line 10

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

#full_cardsObject



30
31
32
33
# File 'lib/crunchbase/models/address.rb', line 30

def full_cards
  %w[
  ]
end