Sha256: fee0112f6a1102d15fc664d99e51f90d2895e20e9c7205f203216c2d2aef7692

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

module WeakSwaggerParameters
  module Definitions
    class Query < ParamContainer
      def string(name, description, options = {})
        @child_definitions << WeakSwaggerParameters::Definitions::Parameter.new(:query, :string, name, description, options)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
weak_swagger_parameters-0.6.0 lib/weak_swagger_parameters/definitions/query.rb
weak_swagger_parameters-0.5.0 lib/weak_swagger_parameters/definitions/query.rb