Class: SwaggerDocsGenerator::Actions::Response

Inherits:
Actions
  • Object
show all
Defined in:
lib/swagger_docs_generator/parser/actions/response.rb

Overview

# Test :response

Complete description field for action

Constant Summary collapse

VALUE =
:responses

Instance Attribute Summary

Attributes inherited from Actions

#hash, #key

Instance Method Summary collapse

Methods inherited from Actions

descendants

Constructor Details

#initialize(data) ⇒ Response

Returns a new instance of Response.



11
12
13
14
# File 'lib/swagger_docs_generator/parser/actions/response.rb', line 11

def initialize(data)
  super(VALUE)
  complete_hash(data)
end