Class: APIGatewayDSL::Parameter::Header

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

Instance Method Summary collapse

Methods inherited from Simple

#as_json

Methods inherited from APIGatewayDSL::Parameter

#as_json

Constructor Details

#initialize(name, **options) ⇒ Header

Returns a new instance of Header.



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

def initialize(name, **options)
  super

  @in = 'header'
end