module Elastic::EnterpriseSearch::AppSearch::Request

The Request module is included in the AppSearch Client to override EnterpriseSearch client's authentication method with App's authentication.

Public Instance Methods

setup_authentication_header() click to toggle source
# File lib/elastic/app-search/app_search.rb, line 32
def setup_authentication_header
  "Bearer #{http_auth}"
end