Sha256: fe8068b0949ecaa2baa1f16abfaf5c27e52cb9fefa64eb56ca315dfab11d9483
Contents?: true
Size: 411 Bytes
Versions: 6
Compression:
Stored size: 411 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require File.expand_path('../../lib/discourse_api', __FILE__) Dotenv.load client = DiscourseApi::Client.new response = client.create_group(name: "engineering_team") group_id = response["basic_group"]["id"] client.group_add(group_id, "sam") client.group_add(group_id, "jeff") client.group_add(group_id, "neil") client.group_remove(group_id, "neil")
Version data entries
6 entries across 6 versions & 1 rubygems