lib/active_shipping/carrier.rb in active_shipping-1.0.0.pre2 vs lib/active_shipping/carrier.rb in active_shipping-1.0.0.pre3
- old
+ new
@@ -134,10 +134,10 @@
@last_request = r
end
# Calculates a timestamp that corresponds a given number if business days in the future
#
- # @param [Integer] The number of business days from now.
+ # @param days [Integer] The number of business days from now.
# @return [DateTime] A timestamp, the provided number of business days in the future.
def timestamp_from_business_day(days)
return unless days
date = DateTime.now.utc
days.times do