Sha256: 3b28fd5d9a5c793292ce4bd402dd92abbb94f858a2a05efb792fbe170a7f49f8

Contents?: true

Size: 758 Bytes

Versions: 12

Compression:

Stored size: 758 Bytes

Contents

# frozen_string_literal: true

module Crunchbase
  # Get the Entities data from API
  module Models
    # Get the Fund data from API
    class Fund < Entity
      RESOURCE_LIST = 'funds'

      def field_ids
        %w[
          created_at
          entity_def_id
          image_id
          investor_identifiers
          num_investors
          owner_identifier
          short_description
          started_on
          updated_at
        ] + basis_fields
      end

      def basis_fields
        %w[
          uuid
          name
          announced_on
          money_raised
          permalink
        ]
      end

      def full_cards
        %w[
          investors
          owner
          press_references
        ]
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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