lib/soaspec/exchange/exchange_properties.rb in soaspec-0.2.11 vs lib/soaspec/exchange/exchange_properties.rb in soaspec-0.2.12
- old
+ new
@@ -15,9 +15,10 @@
handler_class.new name, params_used
end
end
# Set retry_for_success to true, retrying response until a successful status code is returned
+ # @param [Integer] retry_count Times to retry to get a positive response
def expect_positive_status(retry_count: 3)
define_method('retry_count') do
retry_count
end
define_method('retry_for_success?') do