lib/greenjaguar/policy_builder.rb in greenjaguar-0.0.3 vs lib/greenjaguar/policy_builder.rb in greenjaguar-0.0.4

- old
+ new

@@ -7,20 +7,20 @@ @timeout = 300 @exceptions = [] instance_eval(&block) end - def retry_times(retry_count) + def times(retry_count) @count = retry_count self end - def should_timeout_after(retry_timeout) + def timeout_after(retry_timeout) @timeout = retry_timeout self end - def use_logger(logger) + def logger(logger) @logger = logger self end def fail_silently \ No newline at end of file