lib/tuktuk/bounce.rb in tuktuk-0.6.1 vs lib/tuktuk/bounce.rb in tuktuk-0.6.2
- old
+ new
@@ -25,9 +25,13 @@
def code
if str = to_s[0..2] and str.gsub(/[^0-9]/, '') != ''
str.to_i
end
end
+
+ def status
+ code
+ end
end
class HardBounce < Bounce; end
class SoftBounce < Bounce; end