Sha256: 0cffb5f55c53917d68cba88f99c9f3e5fcfd6dfb82d11b680a94eaec51f78ba6

Contents?: true

Size: 700 Bytes

Versions: 12

Compression:

Stored size: 700 Bytes

Contents

# frozen_string_literal: true

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

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

      def basis_fields
        %w[
          uuid
          permalink
          name
          ownee_identifier
          owner_identifier
          ownership_type
        ]
      end

      def full_cards
        %w[
          child_organization
          parent_organization
          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/ownership.rb
crunchbase4-0.2.5 lib/crunchbase/models/ownership.rb
crunchbase4-0.2.4 lib/crunchbase/models/ownership.rb
crunchbase4-0.2.2 lib/crunchbase/models/ownership.rb
crunchbase4-0.2.1 lib/crunchbase/models/ownership.rb
crunchbase4-0.2.0 lib/crunchbase/models/ownership.rb
crunchbase4-0.1.9 lib/crunchbase/models/ownership.rb
crunchbase4-0.1.8 lib/crunchbase/models/ownership.rb
crunchbase4-0.1.7 lib/crunchbase/models/ownership.rb
crunchbase4-0.1.6 lib/crunchbase/models/ownership.rb
crunchbase4-0.1.5 lib/crunchbase/models/ownership.rb
crunchbase4-0.1.4 lib/crunchbase/models/ownership.rb