Sha256: cad2c380b2f0b3097818df14f665794d1f63ac33519fa0767a455d8b39789336

Contents?: true

Size: 200 Bytes

Versions: 3

Compression:

Stored size: 200 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse_api-0.3.0 lib/discourse_api/api/posts.rb
discourse_api-0.2.9 lib/discourse_api/api/posts.rb
discourse_api-0.2.8 lib/discourse_api/api/posts.rb