Class: Openapi3Parser::Node::OauthFlows

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi3_parser/node/oauth_flows.rb

Overview

Instance Attribute Summary

Attributes inherited from Object

#node_context, #node_data

Instance Method Summary collapse

Methods inherited from Object

#==, #[], #each, #extension, #initialize, #inspect, #node_at, #render_markdown, #values

Constructor Details

This class inherits a constructor from Openapi3Parser::Node::Object

Instance Method Details

#authorization_codeOauthFlow?

Returns:



25
26
27
# File 'lib/openapi3_parser/node/oauth_flows.rb', line 25

def authorization_code
  self["authorizationCode"]
end

#client_credentialsOauthFlow?

Returns:



20
21
22
# File 'lib/openapi3_parser/node/oauth_flows.rb', line 20

def client_credentials
  self["clientCredentials"]
end

#implicitOauthFlow?

Returns:



10
11
12
# File 'lib/openapi3_parser/node/oauth_flows.rb', line 10

def implicit
  self["implicit"]
end

#passwordOauthFlow?

Returns:



15
16
17
# File 'lib/openapi3_parser/node/oauth_flows.rb', line 15

def password
  self["password"]
end