0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 05:42:36 +08:00
discourse/lib/faker/discourse.rb
2023-01-09 12:10:19 +00:00

25 lines
368 B
Ruby
Vendored

# frozen_string_literal: true
require "faker"
module Faker
class Discourse < Base
class << self
def tag
fetch("discourse.tags")
end
def category
fetch("discourse.categories")
end
def group
fetch("discourse.groups")
end
def topic
fetch("discourse.topics")
end
end
end
end