Module: OpenStax::Api::DoorkeeperApplicationIncludes

Defined in:
lib/openstax/api/doorkeeper_application_includes.rb

Instance Method Summary collapse

Instance Method Details

#is_admin?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 13

def is_admin?
  false
end

#is_anonymous?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 17

def is_anonymous?
  false
end

#is_application?Boolean

Returns:

  • (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

Returns:

  • (Boolean)


5
6
7
# File 'lib/openstax/api/doorkeeper_application_includes.rb', line 5

def is_human?
  false
end