Class: SwaggerDocsGenerator::Actions::Parameters

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

Overview

# Test :parameters

Complete parameters field for action

Constant Summary collapse

VALUE =
:parameters

Instance Attribute Summary

Attributes inherited from Actions

#hash, #key

Instance Method Summary collapse

Methods inherited from Actions

descendants

Constructor Details

#initialize(data) ⇒ Parameters

Returns a new instance of Parameters.



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

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