From ce44d37fe0f9519ad79cfe4b7ec39e011b9e4c4a Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Mon, 25 Apr 2016 18:59:07 +0100 Subject: [PATCH] Remove redundant logic --- lib/api.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/api.rb b/lib/api.rb index 39a465f..e609ba0 100644 --- a/lib/api.rb +++ b/lib/api.rb @@ -38,11 +38,7 @@ helpers do end def symbols - @symbols ||= begin - params.values_at('symbols', 'currencies').first.tap do |symbols| - symbols.split(',') if symbols - end - end + @symbols ||= params.values_at('symbols', 'currencies').first end def jsonp(data)