Sha256: 76c708849d2e2e113f3a3e2c57e00f09d6c56987dcfe4adfef239b21584e8164
Contents?: true
Size: 339 Bytes
Versions: 9
Compression:
Stored size: 339 Bytes
Contents
module VersionCake class VersionedResponseService def initialize(config) @strategies = config.response_strategies end def inject_version(versioned_context, status, headers, response) @strategies.each do |strategy| strategy.execute(versioned_context, status, headers, response) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems