Sha256: 494ec479814df7fe875cff47ee90ebbbed99fa65d4edfe58d7abb93be0426b00

Contents?: true

Size: 347 Bytes

Versions: 32

Compression:

Stored size: 347 Bytes

Contents

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

      def disposable_tokens(params={})
        post("/invites/disposable", params)
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
discourse_api-0.17.0 lib/discourse_api/api/invite.rb
discourse_api-0.16.1 lib/discourse_api/api/invite.rb
discourse_api-0.16.0 lib/discourse_api/api/invite.rb
discourse_api-0.15.0 lib/discourse_api/api/invite.rb
discourse_api-0.14.1 lib/discourse_api/api/invite.rb
discourse_api-0.14.0 lib/discourse_api/api/invite.rb
discourse_api-0.13.0 lib/discourse_api/api/invite.rb
discourse_api-0.12.0 lib/discourse_api/api/invite.rb
discourse_api-0.10.1 lib/discourse_api/api/invite.rb
discourse_api-0.10.0 lib/discourse_api/api/invite.rb
discourse_api-0.9.1 lib/discourse_api/api/invite.rb
discourse_api-0.9.0 lib/discourse_api/api/invite.rb
discourse_api-0.8.1 lib/discourse_api/api/invite.rb
discourse_api-0.8.0 lib/discourse_api/api/invite.rb
discourse_api-0.7.0 lib/discourse_api/api/invite.rb
discourse_api-0.6.2 lib/discourse_api/api/invite.rb
discourse_api-0.6.1 lib/discourse_api/api/invite.rb
discourse_api-0.6.0 lib/discourse_api/api/invite.rb
discourse_api-0.5.1 lib/discourse_api/api/invite.rb
discourse_api-0.5.0 lib/discourse_api/api/invite.rb