Class: APIGatewayDSL::ResponseIntegration::Collection

Inherits:
Array
  • Object
show all
Defined in:
lib/api_gateway_dsl/response_integration/collection.rb

Instance Method Summary collapse

Instance Method Details

#as_jsonObject



5
6
7
# File 'lib/api_gateway_dsl/response_integration/collection.rb', line 5

def as_json
  index_by(&:regexp).transform_values(&:as_json)
end