Showing 1 of 1 total issue
Method find
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.find(options)
raise ArgumentError.new unless options.is_a?(Hash)
if options[:bank_code].empty?
raise ArgumentError.new('Option :bank_code is missing!')
end