Class: Toolchest::OauthApplication
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Toolchest::OauthApplication
- Defined in:
- app/models/toolchest/oauth_application.rb
Instance Method Summary collapse
Instance Method Details
#redirect_uri_matches?(uri) ⇒ Boolean
20 |
# File 'app/models/toolchest/oauth_application.rb', line 20 def redirect_uri_matches?(uri) = redirect_uris.include?(uri) |
#redirect_uris ⇒ Object
18 |
# File 'app/models/toolchest/oauth_application.rb', line 18 def redirect_uris = redirect_uri&.split("\n")&.map(&:strip)&.reject(&:empty?) || [] |