Sha256: 535d0f6dacf8c4c7f64a47fc802948ff6c294f7ba555abf5206a9d494c755b65

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

require 'metaractor'

module ConsulStockpile
  class PlaceCanary
    include Metaractor

    KEY = 'stockpile/canary'.freeze

    def call
      Diplomat::Kv.put(KEY, 'tweet'.freeze)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
consul_stockpile-0.1.5 lib/consul_stockpile/place_canary.rb