Class: WeakSwaggerParameters::Definitions::Query
- Inherits:
-
ParamContainer
- Object
- ParamContainer
- WeakSwaggerParameters::Definitions::Query
- Defined in:
- lib/weak_swagger_parameters/definitions/query.rb
Instance Method Summary collapse
Methods inherited from ParamContainer
#apply_docs, #apply_validations, #initialize
Constructor Details
This class inherits a constructor from WeakSwaggerParameters::Definitions::ParamContainer
Instance Method Details
#string(name, description, options = {}) ⇒ Object
6 7 8 |
# File 'lib/weak_swagger_parameters/definitions/query.rb', line 6 def string(name, description, = {}) @child_definitions << WeakSwaggerParameters::Definitions::Parameter.new(:query, :string, name, description, ) end |