Class: Forem::RecommendedArticlesList
- Inherits:
-
APIResource
- Object
- ForemObject
- APIResource
- Forem::RecommendedArticlesList
- Extended by:
- APIOperations::Create, APIOperations::List, APIOperations::Retrieve, APIOperations::Update
- Includes:
- APIOperations::Save
- Defined in:
- lib/forem/resources/recommended_articles_list.rb
Overview
Represents a curated list of recommended articles on a Forem instance.
Curated lists of recommended articles. Used by admins to manage content recommendations.
RecommendedArticlesLists are editorial curation objects that group articles for display in recommendation widgets or featured sections. Full CRUD operations are supported. Managing these lists typically requires an admin API key.
Available operations (via mixins):
- +List+ — GET /api/recommended_articles_lists
- +Create+ — POST /api/recommended_articles_lists
- +Retrieve+ — GET /api/recommended_articles_lists/:id
- +Update+ — PUT /api/recommended_articles_lists/:id
- +Save+ — instance-level save (create or update)
Constant Summary collapse
- OBJECT_NAME =
"recommended_articles_list"- RESOURCE_PATH =
"/api/recommended_articles_lists"
Instance Attribute Summary
Attributes inherited from ForemObject
Method Summary
Methods included from APIOperations::Create
Methods included from APIOperations::List
Methods included from APIOperations::Retrieve
Methods included from APIOperations::Update
Methods included from APIOperations::Save
Methods inherited from APIResource
#refresh, resource_path, #resource_url
Methods inherited from ForemObject
#==, #[], #[]=, construct_from, cursor_list, #initialize, #inspect, #method_missing, paginated_list, #respond_to_missing?, #to_hash
Methods included from APIOperations::Request
Constructor Details
This class inherits a constructor from Forem::ForemObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Forem::ForemObject