Sha256: a885647ceb982e39d1d02357ed5d9f35d5149d1e6ca6f2425b6f54a07c50602b
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
module Flipper # Adding a module include so we have some hooks for stuff down the road module Adapter # Public: Get multiple features in one call. Defaults to one get per # feature. Feel free to override per adapter to make this more efficient and # reduce network calls. def get_multi(features) result = {} features.each do |feature| result[feature.key] = get(feature) end result end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flipper-0.10.2 | lib/flipper/adapter.rb |