Class: Disqussed::Posts
- Inherits:
-
Object
- Object
- Disqussed::Posts
- Defined in:
- lib/disqussed/posts.rb
Constant Summary collapse
- ENDPOINT =
'posts'
Class Method Summary collapse
Class Method Details
.create(message = nil, opts = {}, user = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/disqussed/posts.rb', line 6 def create( = nil, opts = {}, user = {}) opts[:message] = opts.slice!(:thread, :author_email, :author_name, :message, :forum) Disqussed::Api.request('post', ENDPOINT, 'create', opts, false, user) end |