Sha256: 3e7e663bd1ec0363aee7aeec6201be6893f7483e4084940a9a22c05b58a50832
Contents?: true
Size: 471 Bytes
Versions: 17
Compression:
Stored size: 471 Bytes
Contents
# frozen_string_literal: true module DiscourseApi module API module Invite def invite_user(params = {}) post("/invites", params) end def invite_user_to_topic(params = {}) post("/t/#{params[:topic_id]}/invite", params) end # requires this plugin => https://github.com/discourse/discourse-invite-tokens def disposable_tokens(params = {}) post("/invite-token/generate", params) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems