Sha256: 5782fbe4a5beb80980c321cdbf2f29698476512127a919cf19b88a0d77198ee9
Contents?: true
Size: 310 Bytes
Versions: 21
Compression:
Stored size: 310 Bytes
Contents
module DiscourseApi module API module Uploads def upload_file(args) args = API.params(args) .optional(:file, :url, :user_id) .default(type: 'composer', synchronous: true) .to_h post('/uploads', args) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems