Module: BrightData::LinkedIn::Endpoint Private

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Shared trigger/scrape helpers for LinkedIn endpoint classes.

Including this module gives a class the ClassMethods#endpoint macro, which declares a whole endpoint mode (its ‘#initialize`, `#trigger`, `#scrape`, input validation, and result parsing) from a few keywords.

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

TRIGGER_PATH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Returns Bright Data trigger path.

Returns:

  • (String)

    Bright Data trigger path

"/datasets/v3/trigger"
SCRAPE_PATH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Returns Bright Data synchronous scrape path.

Returns:

  • (String)

    Bright Data synchronous scrape path

"/datasets/v3/scrape"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • base (Class)

    including class



21
22
23
# File 'lib/brightdata/linkedin/endpoint.rb', line 21

def self.included(base)
  base.extend(ClassMethods)
end