Class: Faker::Discourse

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/discourse.rb

Class Method Summary collapse

Class Method Details

.categoryObject



12
13
14
# File 'lib/faker/discourse.rb', line 12

def category
  fetch("discourse.categories")
end

.groupObject



16
17
18
# File 'lib/faker/discourse.rb', line 16

def group
  fetch("discourse.groups")
end

.tagObject



8
9
10
# File 'lib/faker/discourse.rb', line 8

def tag
  fetch("discourse.tags")
end

.topicObject



20
21
22
# File 'lib/faker/discourse.rb', line 20

def topic
  fetch("discourse.topics")
end