Sha256: f0c6886d59f8b31f892ebdc59c2c1ccfe56fa83d1f44be14902c63b68c030859
Contents?: true
Size: 586 Bytes
Versions: 57
Compression:
Stored size: 586 Bytes
Contents
module OpenStax module Api module DoorkeeperApplicationIncludes # Add some fields to Doorkeeper::Application def is_human? false end def is_application? true end def is_admin? false end def is_anonymous? false end end end end # This needs to run after the orm is selected in the doorkeeper initializer OpenStax::Api::Engine.config.after_initialize do Doorkeeper::Application.send :include, OpenStax::Api::DoorkeeperApplicationIncludes end
Version data entries
57 entries across 57 versions & 1 rubygems