Module: SimpleMobileOauth::Identifiable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/simple_mobile_oauth/identifiable.rb
Instance Method Summary collapse
Instance Method Details
#avatar_url ⇒ Object
13 14 15 |
# File 'lib/simple_mobile_oauth/identifiable.rb', line 13 def avatar_url current_identity_info.try(:fetch, "image", "") end |
#username ⇒ Object
9 10 11 |
# File 'lib/simple_mobile_oauth/identifiable.rb', line 9 def username current_identity_info.try(:fetch, "nickname", "") end |