Class: APIGatewayDSL::ResponseHeader::Collection
- Inherits:
-
Array
- Object
- Array
- APIGatewayDSL::ResponseHeader::Collection
- Defined in:
- lib/api_gateway_dsl/response_header/collection.rb
Instance Method Summary collapse
Instance Method Details
#as_json ⇒ Object
5 6 7 |
# File 'lib/api_gateway_dsl/response_header/collection.rb', line 5 def as_json index_by(&:name).transform_values(&:as_json) end |