Class: OasParser::Endpoint
- Inherits:
-
Object
- Object
- OasParser::Endpoint
- Defined in:
- lib/nexmo/oas/renderer/services/oas_parser.rb
Instance Method Summary collapse
Instance Method Details
#oauth? ⇒ Boolean
13 14 15 16 17 18 19 20 21 |
# File 'lib/nexmo/oas/renderer/services/oas_parser.rb', line 13 def oauth? return false unless security security_schemes.each do |security_schema| return true if security_schema['bearerFormat'] == 'OAuth' end false end |