Class: GraphqlPlayground::Rails::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- GraphqlPlayground::Rails::ApplicationController
- Defined in:
- app/controllers/graphql_playground/rails/application_controller.rb
Instance Method Summary collapse
Instance Method Details
#get_endpoint_url ⇒ Object
10 11 12 |
# File 'app/controllers/graphql_playground/rails/application_controller.rb', line 10 def get_endpoint_url params[:graphql_path] || raise(%|You must include `graphql_path: "/my/endpoint"` when mounting GraphqlPlayground::Rails::Engine|) end |
#get_playground_version ⇒ Object
15 16 17 |
# File 'app/controllers/graphql_playground/rails/application_controller.rb', line 15 def get_playground_version GraphqlPlayground::Rails::PLAYGROUND_VERSION end |
#index ⇒ Object
6 7 |
# File 'app/controllers/graphql_playground/rails/application_controller.rb', line 6 def index end |