lib/elastic/site-search/client.rb
# Create a new user for the configured application.
Create a new user for the configured application.
Create a new user for the configured application .
def create_user
          params = {
            :client_id => Elastic::SiteSearch.platform_client_id,
            :client_secret => Elastic::SiteSearch.platform_client_secret
          }
          post("users.json", params)
        end
def create_user params = { :client_id => Elastic :: SiteSearch . platform_client_id , :client_secret => Elastic :: SiteSearch . platform_client_secret } post ( "users.json" , params ) end
Create a new user for the configured application.
Create a new user for the configured application .