Module: FIR::Me
- Included in:
- Util::ClassMethods
- Defined in:
- lib/fir/util/me.rb
Instance Method Summary collapse
Instance Method Details
#me ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/fir/util/me.rb', line 6 def me check_logined user_info = fetch_user_info(current_token) email = user_info.fetch(:email, '') name = user_info.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 |