lib/backlog_kit/client/watching.rb in backlog_kit-0.14.0 vs lib/backlog_kit/client/watching.rb in backlog_kit-0.15.0

- old
+ new

@@ -57,11 +57,19 @@ # Mark watchings as read # # @param user_id [Integer, String] User id # @return [BacklogKit::Response] No content response - def mark_as_read_watching(user_id) + def mark_as_read_watchings(user_id) post("users/#{user_id}/watchings/markAsChecked") + end + + # Mark a watching as read + # + # @param watching_id [Integer, String] Watching id + # @return [BacklogKit::Response] No content response + def mark_as_read_watching(watching_id) + post("watchings/#{watching_id}/markAsRead") end end end end