Class: APIGatewayDSL::Parameter::Path

Inherits:
Simple show all
Defined in:
lib/api_gateway_dsl/parameter/path.rb

Instance Method Summary collapse

Methods inherited from Simple

#as_json

Methods inherited from APIGatewayDSL::Parameter

#as_json

Constructor Details

#initialize(name, **options) ⇒ Path

Returns a new instance of Path.



5
6
7
8
9
10
# File 'lib/api_gateway_dsl/parameter/path.rb', line 5

def initialize(name, **options)
  super

  @in       = 'path'
  @required = true
end