Module: MangoApps::Client::Posts::GetAllPosts
- Included in:
- MangoApps::Client::Posts
- Defined in:
- lib/mangoapps/modules/posts/get_all_posts.rb
Instance Method Summary collapse
Instance Method Details
#get_all_posts(filter_by: "all", offset: 0, limit: 20, params: {}, unique_user_id: nil) ⇒ Object
7 8 9 |
# File 'lib/mangoapps/modules/posts/get_all_posts.rb', line 7 def get_all_posts(filter_by: "all", offset: 0, limit: 20, params: {}, unique_user_id: nil) get("posts/get_all_posts.json?filter_by=#{filter_by}&offset=#{offset}&limit=#{limit}", params: params, unique_user_id: unique_user_id) end |