Sha256: 7c743038302a506961b9bb265b3c4d58dfd8b7f61c4c7dcbd821b5a8def2f0d8
Contents?: true
Size: 441 Bytes
Versions: 4
Compression:
Stored size: 441 Bytes
Contents
# frozen_string_literal: true module WeakSwaggerParameters module Definitions class Path < ParamContainer def string(name, description) @child_definitions << WeakSwaggerParameters::Definitions::PathParams::String.new(name, description) end def integer(name, description) @child_definitions << WeakSwaggerParameters::Definitions::PathParams::Integer.new(name, description) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems