Class: CircleSo::Resources::FlaggedContents

Inherits:
Base
  • Object
show all
Defined in:
lib/circle_so/resources/flagged_contents.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from CircleSo::Resources::Base

Instance Method Details

#create(**attrs) ⇒ Object



7
# File 'lib/circle_so/resources/flagged_contents.rb', line 7

def create(**attrs) = client.post("/flagged_contents", attrs)

#list(**params) ⇒ Object



6
# File 'lib/circle_so/resources/flagged_contents.rb', line 6

def list(**params) = client.get("/flagged_contents", params)