Sha256: ae536ffc66539e55fee5b2f57f67b82194078255c3746c265d7bcda5b9f50f46

Contents?: true

Size: 170 Bytes

Versions: 2

Compression:

Stored size: 170 Bytes

Contents

module DiscourseApi
  module API
    module Posts
      def create_post(topic_id:, raw:)
        post("/posts", topic_id: topic_id, raw: raw)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discourse_api-0.2.7 lib/discourse_api/api/posts.rb
discourse_api-0.2.5 lib/discourse_api/api/posts.rb