Sha256: 4a81d0141a70daaeabbb2a38b451819cdf59d3a745cd1e00af186e1e3db9c2e4

Contents?: true

Size: 1.75 KB

Versions: 11

Compression:

Stored size: 1.75 KB

Contents

# frozen_string_literal: true

require_relative '../deleted_entities/client'

module Crunchbase
  # Utilities
  module Utilities
    # Autocomplete on Searches
    module DeletedEntities
      # endpoint: /deleted_entities
      #
      #   Retrieve deleted entities
      #   Retrieve deleted entities for a collection id
      #
      # API doc:
      #   https://app.swaggerhub.com/apis-docs/Crunchbase/crunchbase-enterprise_api/1.0.1#/Deleted%20Entities/get_deleted_entities
      #
      # Parameters:
      #   collection_ids: string
      #     Filter by collection id(s). Comma separated list of collection ids.
      #       E.g.
      #         organizations, people, funding_rounds, acquisitions, investments,
      #         events, press_references, funds, event_appearances, ipos, ownerships,
      #         categories, category_groups, locations, jobs
      #   before_id: string
      #     Used to paginate search results to the previous page. before_id should be the uuid of the first item in the current page.
      #       May not be provided simultaneously with after_id.
      #   after_id: string
      #     Used to paginate search results to the next page. after_id should be the uuid of the last item in the current page.
      #       May not be provided simultaneously with before_id.
      #   limit: integer
      #     Number of rows to return. Default is 100, min is 1, max is 1000.
      #   deleted_at_order: string
      #     Direction of sorting by deleted_at property
      #       Available values : asc, desc
      def deleted_entities(**args)
        crunchbase_deleted_entities(args)
      end

      private

      def crunchbase_deleted_entities(args)
        Crunchbase::DeletedEntities::Client.new(args).deleted_entities
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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