Module: ResilientReadsGlobal

Defined in:
lib/resilient_reads.rb

Overview


Global helper — available everywhere just like the original gem.


Instance Method Summary collapse

Instance Method Details

#distribute_reads(**options, &block) ⇒ Object



261
262
263
# File 'lib/resilient_reads.rb', line 261

def distribute_reads(**options, &block)
  ResilientReads.run(**options, &block)
end

#resilient_reads(**options, &block) ⇒ Object



265
266
267
# File 'lib/resilient_reads.rb', line 265

def resilient_reads(**options, &block)
  ResilientReads.run(**options, &block)
end