Corrected codeclimate issues

This commit is contained in:
Sergei Tsõganov 2022-01-04 14:40:22 +02:00 committed by Sergei Tsõganov
parent 7b7a25069c
commit 8c8e9c8619

View file

@ -146,8 +146,8 @@ module Depp
end
def save
return false unless valid?
return false unless valid?
hash = {
id: { value: code },
postalInfo: {
@ -175,8 +175,8 @@ module Depp
handle_errors(data)
end
# rubocop:disable Metrics/MethodLength
def update_attributes(params)
# rubocop:disable Metrics/MethodLength
def update_attributes(params)
return false unless valid?
self.ident_country_code = params[:ident_country_code]