Sha256: f59bcad71704180f8bf74f194ae1045672354ee8115366d8b1f11a90fbf7b5b1

Contents?: true

Size: 1.33 KB

Versions: 15

Compression:

Stored size: 1.33 KB

Contents

# frozen_string_literal: true

module Crunchbase
  # Get the Entities data from API
  module Models
    # Get the person data from API
    class Acquisition < Entity
      RESOURCE_LIST = 'acquisitions'

      def field_ids
        %w[
          acquiree_categories
          acquiree_last_funding_type
          acquiree_locations
          acquiree_num_funding_rounds
          acquiree_revenue_range
          acquiree_short_description
          acquirer_categories
          acquirer_funding_total
          acquirer_identifier
          acquirer_locations
          acquirer_num_funding_rounds
          acquirer_short_description
          created_at
          disposition_of_acquired
          entity_def_id
          num_relationships
          rank
          rank_acquisition
          status
          terms
          updated_at
        ] + basis_fields
      end

      def basis_fields
        %w[
          uuid
          permalink
          identifier
          announced_on
          completed_on
          acquisition_type
          price
          short_description
          acquiree_funding_total
          acquiree_identifier
          acquirer_revenue_range
        ]
      end

      def full_cards
        %w[
          acquiree_organization
          acquirer_organization
          press_references
        ]
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
crunchbase4-0.2.6 lib/crunchbase/models/acquisition.rb
crunchbase4-0.2.5 lib/crunchbase/models/acquisition.rb
crunchbase4-0.2.4 lib/crunchbase/models/acquisition.rb
crunchbase4-0.2.2 lib/crunchbase/models/acquisition.rb
crunchbase4-0.2.1 lib/crunchbase/models/acquisition.rb
crunchbase4-0.2.0 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.9 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.8 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.7 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.6 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.5 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.4 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.3 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.2 lib/crunchbase/models/acquisition.rb
crunchbase4-0.1.1 lib/crunchbase/models/acquisition.rb