mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 20:48:07 +00:00
* Avoid extra string alocation as join will always return string * Fix indentation * Sprinkle frozen string literal true
11 lines
256 B
Ruby
11 lines
256 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Reports::UpdateAccountIdentity < Reports::UpdateIdentity
|
|
attr_reader :account
|
|
|
|
def initialize(account, timestamp = Time.now)
|
|
super(account, timestamp)
|
|
@identity = ::AccountIdentity.new(account.id)
|
|
end
|
|
end
|