Sha256: e58c0d0cea89cdde3b05b1883394039451665aebde47ee5193b56f6039094aaf

Contents?: true

Size: 317 Bytes

Versions: 12

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

# This controller is essential for running Capybara feature tests against the NulogySSO engine
class ApiController < ActionController::API
  include NulogySSO::ControllerHelper

  before_action :authenticate_sso_user

  def api_endpoint
    render json: {text: "Hello World"}
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
nulogy_sso-2.6.0 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.5.1 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.5.0 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.4.0 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.3.1 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.3.0 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.2.0 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.1.3 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.1.2 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.1.1 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.1.0 spec/dummy/app/controllers/api_controller.rb
nulogy_sso-2.0.0 spec/dummy/app/controllers/api_controller.rb