Sha256: da83a06d8b486b80be55cbbb78fe03fcd0a3ea022390b468c92d5189e0e66585

Contents?: true

Size: 298 Bytes

Versions: 28

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

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

  before_action :doorkeeper_authorize!

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

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
doorkeeper-mongodb-5.4.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-mongodb-5.3.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-mongodb-5.2.3 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-sequel-2.4.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.1.2 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-mongodb-5.2.2 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-sequel-2.3.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.2.6 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.3.3 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.1.1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.2.5 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.3.2 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.4.0.rc1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-mongodb-5.2.1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-mongodb-5.2.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-sequel-2.2.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.2.4 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.3.1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.3.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-5.2.3 spec/dummy/app/controllers/metal_controller.rb