Class: Swagger::Blocks::AuthorizationCodeNode
- Inherits:
-
Node
- Object
- Node
- Swagger::Blocks::AuthorizationCodeNode
show all
- Defined in:
- lib/swagger/blocks.rb
Overview
Instance Attribute Summary
Attributes inherited from Node
#name, #version
Instance Method Summary
collapse
Methods inherited from Node
#as_json, call, #data, #is_swagger_1_2?, #is_swagger_2_0?, #key, #keys
Instance Method Details
#token_endpoint(inline_keys = nil, &block) ⇒ Object
442
443
444
|
# File 'lib/swagger/blocks.rb', line 442
def token_endpoint(inline_keys = nil, &block)
self.data[:tokenEndpoint] = Swagger::Blocks::TokenEndpointNode.call(version: version, inline_keys: inline_keys, &block)
end
|
#token_request_endpoint(inline_keys = nil, &block) ⇒ Object
438
439
440
|
# File 'lib/swagger/blocks.rb', line 438
def token_request_endpoint(inline_keys = nil, &block)
self.data[:tokenRequestEndpoint] = Swagger::Blocks::TokenRequestEndpointNode.call(version: version, inline_keys: inline_keys, &block)
end
|