Class: Booth::Core::Audit::Logout

Inherits:
Object
  • Object
show all
Includes:
Calls
Defined in:
lib/booth/core/audit/logout.rb

Instance Method Summary collapse

Instance Method Details

#callObject



13
14
15
16
17
18
19
20
# File 'lib/booth/core/audit/logout.rb', line 13

def call
  ::Booth::Models::Audit.create! credential:,
                                 ip:,
                                 agent:,
                                 event: :logout

  nil
end