Corrected with rubocop cop 'Style/SpaceBeforeBlockBraces'.
This commit is contained in:
parent
dd4b2b88d1
commit
62b23c963e
2 changed files with 2 additions and 2 deletions
|
@ -526,7 +526,7 @@ class Channel::EmailParser
|
|||
def set_attributes_by_x_headers( item_object, header_name, mail )
|
||||
|
||||
# loop all x-zammad-hedaer-* headers
|
||||
item_object.attributes.each{|key, value|
|
||||
item_object.attributes.each {|key, value|
|
||||
|
||||
# ignore read only attributes
|
||||
next if key == 'updated_at'
|
||||
|
|
|
@ -576,7 +576,7 @@ returns
|
|||
end
|
||||
|
||||
def self.symbolize_keys(hash)
|
||||
hash.inject({}){|result, (key, value)|
|
||||
hash.inject({}) {|result, (key, value)|
|
||||
new_key = case key
|
||||
when String then key.to_sym
|
||||
else key
|
||||
|
|
Loading…
Reference in a new issue