Class: V1::GIDS::InstitutionsController

Inherits:
GIDSController show all
Defined in:
app/controllers/v1/gids/institutions_controller.rb

Constant Summary

Constants inherited from ApplicationController

ApplicationController::VERSION_STATUS

Constants included from SignIn::Authentication

SignIn::Authentication::BEARER_PATTERN

Constants included from ExceptionHandling

ExceptionHandling::SKIP_SENTRY_EXCEPTION_TYPES

Instance Method Summary collapse

Methods inherited from ApplicationController

#clear_saved_form, #cors_preflight, #routing_error

Methods included from Traceable

#set_trace_tags

Methods included from SentryLogging

#log_exception_to_sentry, #log_message_to_sentry, #non_nil_hash?, #normalize_level, #rails_logger

Methods included from SignIn::Authentication

#authenticate, #authenticate_service_account, #load_user

Methods included from Headers

#block_unknown_hosts, #set_app_info_headers

Methods included from AuthenticationAndSSOConcerns

#authenticate, #clear_session, #extend_session!, #load_user, #log_sso_info, #render_unauthorized, #reset_session, #set_api_cookie!, #set_session_expiration_header, #sso_logging_info, #validate_inbound_login_params, #validate_session

Instance Method Details

#autocompleteObject



6
7
8
# File 'app/controllers/v1/gids/institutions_controller.rb', line 6

def autocomplete
  render json: service.get_institution_autocomplete_suggestions_v1(scrubbed_params)
end

#childrenObject



18
19
20
# File 'app/controllers/v1/gids/institutions_controller.rb', line 18

def children
  render json: service.get_institution_children_v1(scrubbed_params)
end

#searchObject



10
11
12
# File 'app/controllers/v1/gids/institutions_controller.rb', line 10

def search
  render json: service.get_institution_search_results_v1(scrubbed_params)
end

#showObject



14
15
16
# File 'app/controllers/v1/gids/institutions_controller.rb', line 14

def show
  render json: service.get_institution_details_v1(scrubbed_params)
end