Class: Apipie::Generator::Swagger::MethodDescription::ParametersService
- Inherits:
-
Object
- Object
- Apipie::Generator::Swagger::MethodDescription::ParametersService
- Defined in:
- lib/apipie/generator/swagger/method_description/parameters_service.rb
Instance Method Summary collapse
- #call ⇒ Array
-
#initialize(method_description, path:, http_method:) ⇒ ParametersService
constructor
A new instance of ParametersService.
Constructor Details
#initialize(method_description, path:, http_method:) ⇒ ParametersService
Returns a new instance of ParametersService.
5 6 7 8 9 |
# File 'lib/apipie/generator/swagger/method_description/parameters_service.rb', line 5 def initialize(method_description, path:, http_method:) @method_description = method_description @path = path @http_method = http_method end |
Instance Method Details
#call ⇒ Array
12 13 14 |
# File 'lib/apipie/generator/swagger/method_description/parameters_service.rb', line 12 def call path_params_schema + body_params_schema + header_params_schema end |