Method: Doorkeeper::Config::Builder#api_only

Defined in:
lib/doorkeeper/config.rb

#api_onlyObject

Use an API mode for applications generated with –api argument It will skip applications controller, disable forgery protection



134
135
136
# File 'lib/doorkeeper/config.rb', line 134

def api_only
  @config.instance_variable_set(:@api_only, true)
end