Class: Teamlab::Feed
- Inherits:
-
Object
- Object
- Teamlab::Feed
- Defined in:
- lib/teamlab/modules/feed.rb
Instance Method Summary collapse
-
#filter_feed(filters) ⇒ Object
TODO: find out how it should work api.onlyoffice.com missing documentation.
-
#initialize(config = nil) ⇒ Feed
constructor
A new instance of Feed.
- #new_feeds_count ⇒ Object
-
#read_feed ⇒ Object
TODO: find out how it should work api.onlyoffice.com missing documentation.
Constructor Details
Instance Method Details
#filter_feed(filters) ⇒ Object
TODO: find out how it should work api.onlyoffice.com missing documentation
10 11 12 |
# File 'lib/teamlab/modules/feed.rb', line 10 def filter_feed(filters) @request.get(['filter'], filters) end |
#new_feeds_count ⇒ Object
14 15 16 |
# File 'lib/teamlab/modules/feed.rb', line 14 def new_feeds_count @request.get(['newfeedscount']) end |
#read_feed ⇒ Object
TODO: find out how it should work api.onlyoffice.com missing documentation
19 20 21 |
# File 'lib/teamlab/modules/feed.rb', line 19 def read_feed @request.put(['read']) end |