mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
style(rubocop): fix all safe auto correctable offenses
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
module HasUUID
|
||||
|
||||
def self.included(base)
|
||||
base.class_eval do
|
||||
random_string :uuid, :type => :uuid, :unique => true
|
||||
random_string :uuid, type: :uuid, unique: true
|
||||
end
|
||||
end
|
||||
|
||||
def to_param
|
||||
uuid
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user