16 17 18 19 20
# File 'lib/discourse_api/api/topics.rb', line 16 def create_topic_action(args) args = API.params(args) .required(:id, :post_action_type_id) post("/post_actions", args.to_h.merge(flag_topic: true)) end