Class: CircleSo::Resources::ProfileFields

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

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#archive(id) ⇒ Object



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

def archive(id) = client.put("/profile_fields/#{id}/archive")

#list(**params) ⇒ Object



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

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

#unarchive(id) ⇒ Object



8
# File 'lib/circle_so/resources/profile_fields.rb', line 8

def unarchive(id) = client.put("/profile_fields/#{id}/unarchive")