Class: CircleSo::Resources::Comments
- Inherits:
-
Base
- Object
- Base
- CircleSo::Resources::Comments
show all
- Defined in:
- lib/circle_so/resources/comments.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create(**attrs) ⇒ Object
7
|
# File 'lib/circle_so/resources/comments.rb', line 7
def create(**attrs) = client.post("/comments", attrs)
|
#delete(id) ⇒ Object
9
|
# File 'lib/circle_so/resources/comments.rb', line 9
def delete(id) = client.delete("/comments/#{id}")
|
#list(**params) ⇒ Object
6
|
# File 'lib/circle_so/resources/comments.rb', line 6
def list(**params) = client.get("/comments", params)
|
#show(id) ⇒ Object
8
|
# File 'lib/circle_so/resources/comments.rb', line 8
def show(id) = client.get("/comments/#{id}")
|