Module: Freefeed::V2::Users
- Included in:
- Client
- Defined in:
- lib/freefeed/v2/users.rb
Instance Method Summary collapse
- #blocked_by_me ⇒ Object
- #mark_all_directs_as_read ⇒ Object
- #mark_all_notifications_as_read ⇒ Object
- #unread_directs_number ⇒ Object
- #unread_notifications_number ⇒ Object
- #whoami ⇒ Object
Instance Method Details
#blocked_by_me ⇒ Object
12 13 14 |
# File 'lib/freefeed/v2/users.rb', line 12 def blocked_by_me authenticated_request(:get, "/v2/users/blockedByMe") end |
#mark_all_directs_as_read ⇒ Object
24 25 26 |
# File 'lib/freefeed/v2/users.rb', line 24 def mark_all_directs_as_read authenticated_request(:get, "/v2/users/markAllDirectsAsRead") end |
#mark_all_notifications_as_read ⇒ Object
28 29 30 |
# File 'lib/freefeed/v2/users.rb', line 28 def mark_all_notifications_as_read authenticated_request(:post, "/v2/users/markAllNotificationsAsRead") end |
#unread_directs_number ⇒ Object
16 17 18 |
# File 'lib/freefeed/v2/users.rb', line 16 def unread_directs_number authenticated_request(:get, "/v2/users/getUnreadDirectsNumber") end |
#unread_notifications_number ⇒ Object
20 21 22 |
# File 'lib/freefeed/v2/users.rb', line 20 def unread_notifications_number authenticated_request(:get, "/v2/users/getUnreadNotificationsNumber") end |
#whoami ⇒ Object
8 9 10 |
# File 'lib/freefeed/v2/users.rb', line 8 def whoami authenticated_request(:get, "/v2/users/whoami") end |