Sha256: 0bd5b3d35fd0eaf1f7f13408be002047e6342a2b4b7e00dca5d56f5b4dd1b867

Contents?: true

Size: 908 Bytes

Versions: 16

Compression:

Stored size: 908 Bytes

Contents

# frozen_string_literal: true

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

      def field_ids
        %w[
          created_at
          entity_def_id
          identifier
          investor_identifier
          is_lead_investor
          funding_round_identifier
          updated_at
        ] + basis_fields
      end

      def basis_fields
        %w[
          uuid
          name
          permalink
          money_invested
          investor_stage
          investor_type
          funding_round_money_raised
          organization_identifier
          partner_identifiers
          announced_on
        ]
      end

      def full_cards
        %w[
          investor
          organization
          funding_round
          partner
        ]
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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