Method: Doorkeeper::Config::Builder#use_polymorphic_resource_owner

Defined in:
lib/doorkeeper/config.rb

#use_polymorphic_resource_ownerObject

Enables polymorphic Resource Owner association for Access Grant and Access Token models. Requires additional database columns to be setup.



140
141
142
# File 'lib/doorkeeper/config.rb', line 140

def use_polymorphic_resource_owner
  @config.instance_variable_set(:@polymorphic_resource_owner, true)
end