Sha256: 22ebe8388c9a37c2f561f6f83901d61f8a4e099c11f89116c4d15adcee184e38

Contents?: true

Size: 512 Bytes

Versions: 11

Compression:

Stored size: 512 Bytes

Contents

require "infopark_component_cache/delayed_guard"
require "infopark_component_cache/guards/valid_from"

module InfoparkComponentCache
  module Guards
    # @author Tomasz Przedmojski <tomasz.przedmojski@infopark.de>
    #
    # This class is a delayed version of ValidFrom guard.
    # The preconfigured delay is 10 seconds.
    #
    # @see DelayedGuard
    # @see ValidFrom
    class DelayedValidFrom < ValidFrom
      include DelayedGuard
      delay :current_min_valid_from, for: 10.seconds
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
infopark_component_cache-5.0.2 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-5.0.1 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-4.2.0 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-4.1.0 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-4.0.1 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-4.0.0 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-3.2.0 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-3.1.1 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-3.1.0 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-3.0.0 lib/infopark_component_cache/guards/delayed_valid_from.rb
infopark_component_cache-2.0.0 lib/infopark_component_cache/guards/delayed_valid_from.rb