Sha256: 21a3e12e539640515fa04fa94232cd366fc3bb17c66148f5057723fa4cb72dc9

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

module Effective
  class UserLogger
    def self.successful_login(user)
      EffectiveLogger.success("user login from #{user.try(:current_sign_in_ip) || 'unknown IP'}", :user => user)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_logging-1.0.0 app/models/effective/user_logger.rb