mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
fix: rubocop warning removed
This commit is contained in:
@@ -5,7 +5,7 @@ class BeermappingApi
|
||||
|
||||
places = response.parsed_response["bmp_locations"]["location"]
|
||||
|
||||
return [] if places.is_a?(Hash) and places["id"].nil?
|
||||
return [] if places.is_a?(Hash) && places["id"].nil?
|
||||
|
||||
places = [places] if places.is_a?(Hash)
|
||||
places.map do |place|
|
||||
|
||||
Reference in New Issue
Block a user