Class: Swagger::Blocks::ImplicitNode
Overview
Instance Attribute Summary
Attributes inherited from Node
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
#login_endpoint(&block) ⇒ Object
428 429 430 |
# File 'lib/swagger/blocks.rb', line 428 def login_endpoint(&block) self.data[:loginEndpoint] = Swagger::Blocks::LoginEndpointNode.call(version: version, &block) end |