Rubocop upgraded #2711

This commit is contained in:
Priit Tark 2015-06-26 18:19:36 +03:00
parent 59c73fca9e
commit 7530d6ecab
33 changed files with 115 additions and 91 deletions

View file

@ -8,7 +8,7 @@ module Depp
self.epp_xml = EppXml::Keyrelay.new(cl_trid_prefix: current_user.tag)
end
def keyrelay(params) # rubocop:disable Metrics/MethodLength
def keyrelay(params)
custom_params = {}
if params[:legal_document].present?
type = params[:legal_document].original_filename.split('.').last.downcase