Method: DiscourseApi::API::Topics#topics_by
- Defined in:
- lib/discourse_api/api/topics.rb
#topics_by(username, params = {}) ⇒ Object
68 69 70 71 |
# File 'lib/discourse_api/api/topics.rb', line 68 def topics_by(username, params = {}) response = get("/topics/created-by/#{username}.json", params) response[:body]['topic_list']['topics'] end |