Sha256: bbaa434978841f804ff9147d1cb52587fb02c154efe61ef007d89dfd839604b6

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

require 'greenjaguar/version'
require 'greenjaguar/strategies/wait_strategy'
require 'greenjaguar/strategies/default_wait_strategy'
require 'greenjaguar/strategies/fibonacci_strategy'
require 'greenjaguar/strategies/exponential_backoff_strategy'
require 'greenjaguar/strategies/fixed_interval_strategy'
require 'greenjaguar/policy_builder'
require 'greenjaguar/retrier'

module Greenjaguar
  def build_policy(&block)
    PolicyBuilder.new(&block)
  end

  def robust_retry(policy, &block)
    Retrier.new(policy, &block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
greenjaguar-0.0.6 lib/greenjaguar.rb
greenjaguar-0.0.5 lib/greenjaguar.rb