Sha256: 91aa1d2fca57b27b6e7418b4b36baef12160e9ee1d1a30882da078fbe0981e8f

Contents?: true

Size: 468 Bytes

Versions: 13

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

module Crunchbase
  # Get the Entities data from API
  module Models
    # For AutocompleteEntity
    class DeletedEntity < Entity
      def field_ids
        basis_fields
      end

      def basis_fields
        %w[
          uuid
          entity_def_id
          deleted_at
          identifier
        ]
      end

      def parse_response(response)
        dynamic_attributes(self, field_ids, response)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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