Class: Carnivore::Http::PointBuilder::Endpoint

Inherits:
Object
  • Object
show all
Includes:
Jackal::Utils::Config, Jackal::Utils::Payload
Defined in:
lib/jackal/utils/http_api.rb

Instance Method Summary (collapse)

Instance Method Details

- (Hash) config Originally defined in module Jackal::Utils::Config

Returns configuration

Returns:

  • (Hash)

    configuration

- (Array) config_path(class_name = self.class.name) Originally defined in module Jackal::Utils::Config

Returns key path in configuration

Returns:

  • (Array)

    key path in configuration

- (Symbol) destination(direction = :output) Originally defined in module Jackal::Utils::Config

Generation destination key based on direction

Parameters:

  • direction (Symbol, String) (defaults to: :output)

Returns:

  • (Symbol)

- (Smash) new_payload(name, payload, *args) Originally defined in module Jackal::Utils::Payload

Generate a new payload

Parameters:

  • name (String)
  • payload (Hash)
  • args (Object)

    extra arguments

Returns:

  • (Smash)

- (String) source_prefix Originally defined in module Jackal::Utils::Config

Returns prefix of source for this callback

Returns:

  • (String)

    prefix of source for this callback

- (Smash) unpack(message) Originally defined in module Jackal::Utils::Payload

Extract payload from message

Parameters:

  • message (Carnivore::Message)

Returns:

  • (Smash)