Class: Faker::Discourse

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

Class Method Summary collapse

Class Method Details

.categoryObject



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

def category
  fetch('discourse.categories')
end

.groupObject



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

def group
  fetch('discourse.groups')
end

.tagObject



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

def tag
  fetch('discourse.tags')
end

.topicObject



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

def topic
  fetch('discourse.topics')
end