redbubble/kumo_dockercloud_gem

View on GitHub
lib/kumo_dockercloud/service_check.rb

Summary

Maintainability
A
0 mins
Test Coverage
module KumoDockerCloud
  class ServiceCheck
    attr_reader :error_message

    def initialize(lambda, error_message)
      @error_message = error_message
      @lambda = lambda
    end

    def call(container)
      @lambda.call(container)
    end
  end
end