Class: Crystil::API::Sentinel

Inherits:
Base
  • Object
show all
Defined in:
lib/crystil/api/sentinel.rb,
sig/crystil/api/sentinel.rbs

Instance Method Summary collapse

Methods inherited from Base

#build_request, #delete, #get, #handle_response, #initialize, #parse_json_response, #post, #put, #request

Constructor Details

This class inherits a constructor from Crystil::API::Base

Instance Method Details

#relevance_intercept(payload) ⇒ Object

Parameters:

  • payload (Hash[Symbol, untyped])

Returns:

  • (Object)


6
7
8
# File 'lib/crystil/api/sentinel.rb', line 6

def relevance_intercept(payload)
  post("/sentinel/relevance/intercept", payload)
end