lib/elastic/site-search/client.rb
# Return a user created by the configured application.
#
# @param user_id [String] the Site Search User ID
Return a user created by the configured application.
Return a user created by the configured application .
def user(user_id)
          params = {
            :client_id => Elastic::SiteSearch.platform_client_id,
            :client_secret => Elastic::SiteSearch.platform_client_secret
          }
          get("users/#{user_id}.json", params)
        end
def user ( user_id ) params = { :client_id => Elastic :: SiteSearch . platform_client_id , :client_secret => Elastic :: SiteSearch . platform_client_secret } get ( "users/#{user_id}.json" , params ) end
Return a user created by the configured application.
Return a user created by the configured application .
user_id
the Site Search User ID
the Site Search User ID