Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
This commit is contained in:
9
lib/reports/update_agent_identity.rb
Normal file
9
lib/reports/update_agent_identity.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class Reports::UpdateAgentIdentity < Reports::UpdateIdentity
|
||||
attr_reader :agent
|
||||
|
||||
def initialize(account, agent, timestamp = Time.now)
|
||||
super(account, timestamp)
|
||||
@agent = agent
|
||||
@identity = ::AgentIdentity.new(agent.id, tags: { account_id: account.id })
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user