Sha256: 0c6c834c676583cefd56629d61a5df9c9cb8242f1c838e40e330152cb178010e
Contents?: true
Size: 443 Bytes
Versions: 19
Compression:
Stored size: 443 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require File.expand_path('../../lib/discourse_api', __FILE__) client = DiscourseApi::Client.new("http://localhost:3000") client.api_key = "YOUR_API_KEY" client.api_username = "YOUR_USERNAME" client.create_topic( category: "Boing Boing", skip_validations: true, auto_track: false, title: "Concert Master: A new way to choose", raw: "This is the raw markdown for my post" )
Version data entries
19 entries across 19 versions & 1 rubygems