class APIGatewayDSL::Mapping::Collection
Public Instance Methods
as_json()
click to toggle source
# File lib/api_gateway_dsl/mapping/collection.rb, line 9 def as_json index_by(&:key).transform_values(&:as_json) end
response_headers()
click to toggle source
# File lib/api_gateway_dsl/mapping/collection.rb, line 5 def response_headers ResponseHeader::Collection.new.concat(map(&:response_header)) end