Sha256: e8dad586aacebe27ad36aac27a9a1e6242a12f1e6a0513e673ea406e8ddc6a99

Contents?: true

Size: 251 Bytes

Versions: 7

Compression:

Stored size: 251 Bytes

Contents

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

  doorkeeper_for :all

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
doorkeeper-1.4.2 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-1.4.1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-1.4.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-1.3.1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-grants_assertion-0.0.1 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-1.3.0 spec/dummy/app/controllers/metal_controller.rb
doorkeeper-1.2.0 spec/dummy/app/controllers/metal_controller.rb