Sha256: 834ff4641e2c8bafd7146113db26d46259703a43830378425a1ab9f83eb3ddb0

Contents?: true

Size: 263 Bytes

Versions: 7

Compression:

Stored size: 263 Bytes

Contents

class MetalController < ActionController::Metal
  include AbstractController::Callbacks
  include ActionController::Head
  include Capcoauth::Rails::Helpers

  before_action :verify_authorized!

  def index
    self.response_body = { ok: true }.to_json
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
capcoauth-0.7.0 spec/dummy/app/controllers/metal_controller.rb
capcoauth-0.6.3 spec/dummy/app/controllers/metal_controller.rb
capcoauth-0.6.2 spec/dummy/app/controllers/metal_controller.rb
capcoauth-0.6.1 spec/dummy/app/controllers/metal_controller.rb
capcoauth-0.6.0 spec/dummy/app/controllers/metal_controller.rb
capcoauth-0.5.1 spec/dummy/app/controllers/metal_controller.rb
capcoauth-0.5.0 spec/dummy/app/controllers/metal_controller.rb