Sha256: 3e4943b337590a0faa9af6da749e3a1454a5fc27d3416bab0bd1690976e7e6b0
Contents?: true
Size: 392 Bytes
Versions: 3
Compression:
Stored size: 392 Bytes
Contents
module Health module Checks class Rollout def initialize(rollout_name, rollout = $rollout) @rollout_name = rollout_name @rollout = rollout end def name "#{@rollout_name}_rollout" end def call {:ok => @rollout.active?(@rollout_name), :output => @rollout.get(@rollout_name).to_hash} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
health-0.0.4 | lib/health/checks/rollout.rb |
health-0.0.3 | lib/health/checks/rollout.rb |
health-0.0.2 | lib/health/checks/rollout.rb |