Sha256: 5a70f78f6db63499f85c8da21a273b18adbd105e6277e167456daaf0ac61d830

Contents?: true

Size: 380 Bytes

Versions: 12

Compression:

Stored size: 380 Bytes

Contents

require_relative 'base'

module Swaggard
  module Swagger
    module Parameters
      class Path < Base

        attr_reader :name

        def initialize(param_name)
          @in = 'path'
          @name = param_name.to_s
          @data_type = 'string'
          @is_required = true
          @description = "Scope response to #{@name}"
        end

      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
swaggard-0.5.4 lib/swaggard/swagger/parameters/path.rb
swaggard-0.5.3 lib/swaggard/swagger/parameters/path.rb
swaggard-0.5.2 lib/swaggard/swagger/parameters/path.rb
swaggard-0.5.1 lib/swaggard/swagger/parameters/path.rb
swaggard-0.5.0 lib/swaggard/swagger/parameters/path.rb
swaggard-0.4.0 lib/swaggard/swagger/parameters/path.rb
swaggard-0.3.0 lib/swaggard/swagger/parameters/path.rb
swaggard-0.2.1 lib/swaggard/swagger/parameters/path.rb
swaggard-0.2.0 lib/swaggard/swagger/parameters/path.rb
swaggard-0.1.1 lib/swaggard/swagger/parameters/path.rb
swaggard-0.1.0 lib/swaggard/swagger/parameters/path.rb
swaggard-0.0.4 lib/swaggard/swagger/parameters/path.rb