Class: Apipie::Generator::Swagger::ParamDescription::Description
- Inherits:
-
Object
- Object
- Apipie::Generator::Swagger::ParamDescription::Description
- Defined in:
- lib/apipie/generator/swagger/param_description/description.rb
Instance Method Summary collapse
-
#initialize(param_description, language:) ⇒ Description
constructor
A new instance of Description.
- #to_hash ⇒ Hash
Constructor Details
#initialize(param_description, language:) ⇒ Description
Returns a new instance of Description.
2 3 4 5 |
# File 'lib/apipie/generator/swagger/param_description/description.rb', line 2 def initialize(param_description, language:) @param_description = param_description @language = language end |