Module: OpenStax::Api::DoorkeeperApplicationIncludes
- Defined in:
- lib/openstax/api/doorkeeper_application_includes.rb
Instance Method Summary collapse
- #is_admin? ⇒ Boolean
- #is_anonymous? ⇒ Boolean
- #is_application? ⇒ Boolean
-
#is_human? ⇒ Boolean
Add some fields to Doorkeeper::Application.
Instance Method Details
#is_admin? ⇒ Boolean
13 14 15 |
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 13 def is_admin? false end |
#is_anonymous? ⇒ Boolean
17 18 19 |
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 17 def is_anonymous? false end |
#is_application? ⇒ Boolean
9 10 11 |
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 9 def is_application? true end |
#is_human? ⇒ Boolean
Add some fields to Doorkeeper::Application
5 6 7 |
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 5 def is_human? false end |