mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Corrected codeclimate issues
This commit is contained in:
parent
7b7a25069c
commit
8c8e9c8619
1 changed files with 4 additions and 4 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue