Class: Forem::Services::ReadingListService
- Inherits:
-
BaseService
- Object
- BaseService
- Forem::Services::ReadingListService
- Defined in:
- lib/forem/services/reading_list_service.rb
Overview
Service for interacting with the Forem Reading List API.
Lists articles the authenticated user has bookmarked for later reading. Access via Client#reading_list. All methods inject the client's requestor automatically so no additional configuration is required.
Instance Method Summary collapse
-
#list(params = {}, opts = {}) ⇒ Array<ReadingList>
List articles in the authenticated user's reading list.
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Forem::Services::BaseService
Instance Method Details
#list(params = {}, opts = {}) ⇒ Array<ReadingList>
List articles in the authenticated user's reading list.
30 31 32 |
# File 'lib/forem/services/reading_list_service.rb', line 30 def list(params = {}, opts = {}) ReadingList.list(params, opts_with_requestor(opts)) end |