Class: Openapi3Parser::Node::OauthFlow

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi3_parser/node/oauth_flow.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_urlString?

Returns:

  • (String, nil)


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

def authorization_url
  self["authorizationUrl"]
end

#refresh_urlString?

Returns:

  • (String, nil)


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

def refresh_url
  self["refreshUrl"]
end

#scopesMap<String, String>

Returns:

  • (Map<String, String>)


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

def scopes
  self["scopes"]
end

#token_urlString?

Returns:

  • (String, nil)


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

def token_url
  self["tokenUrl"]
end