Class: Roistat::Resources::Managers
- Defined in:
- lib/roistat/resources/managers.rb,
sig/roistat.rbs
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#add(**body) ⇒ Object
POST /project/integration/manager/add.
-
#delete(id:) ⇒ Object
POST /project/integration/manager/delete.
-
#list(**body) ⇒ Object
POST /project/integration/manager/list.
-
#update(**body) ⇒ Object
POST /project/integration/manager/update.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Roistat::Resources::Base
Instance Method Details
#add(**body) ⇒ Object
POST /project/integration/manager/add
10 11 12 |
# File 'lib/roistat/resources/managers.rb', line 10 def add(**body) client.post("project/integration/manager/add", body: body) end |
#delete(id:) ⇒ Object
POST /project/integration/manager/delete
20 21 22 |
# File 'lib/roistat/resources/managers.rb', line 20 def delete(id:) client.post("project/integration/manager/delete", body: {id: id}) end |
#list(**body) ⇒ Object
POST /project/integration/manager/list
5 6 7 |
# File 'lib/roistat/resources/managers.rb', line 5 def list(**body) post("project/integration/manager/list", body: body) end |
#update(**body) ⇒ Object
POST /project/integration/manager/update
15 16 17 |
# File 'lib/roistat/resources/managers.rb', line 15 def update(**body) client.post("project/integration/manager/update", body: body) end |