From 43c0f7a7bc99f4a8a56e58ffbafd1cd4abbea959 Mon Sep 17 00:00:00 2001 From: Larry Marburger Date: Tue, 8 May 2012 20:50:34 -0400 Subject: [PATCH] Remove unused method argument --- lib/leadlight/representation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/leadlight/representation.rb b/lib/leadlight/representation.rb index 1d554c1..eaff718 100644 --- a/lib/leadlight/representation.rb +++ b/lib/leadlight/representation.rb @@ -21,7 +21,7 @@ def apply_all_tints self end - def exception(message=exception_message) + def exception return super if defined?(super) case __response__.status.to_i when 404 then ResourceNotFound