Module: Doorkeeper::DeviceAuthorizationGrant::Rails::Routes::Helper

Defined in:
lib/doorkeeper/device_authorization_grant/rails/routes.rb

Overview

rubocop:disable Style/Documentation

Instance Method Summary collapse

Instance Method Details

#use_doorkeeper_device_authorization_grant(options = {}, &block) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


11
12
13
14
# File 'lib/doorkeeper/device_authorization_grant/rails/routes.rb', line 11

def use_doorkeeper_device_authorization_grant(options = {}, &block)
  ::Doorkeeper::DeviceAuthorizationGrant::Rails::Routes
    .new(self, &block).generate_routes!(options)
end