Module: FIR::Me

Included in:
Util::ClassMethods
Defined in:
lib/fir/util/me.rb

Instance Method Summary collapse

Instance Method Details

#meObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/fir/util/me.rb', line 6

def me
  check_logined

   = (current_token)

  email = .fetch(:email, '')
  name  = .fetch(:name, '')

  logger.info "Login succeed, current user's email: #{email}"
  logger.info "Login succeed, current user's name:  #{name}"
  logger_info_blank_line
end