Class: Roistat::Resources::Managers

Inherits:
Base
  • Object
show all
Defined in:
lib/roistat/resources/managers.rb,
sig/roistat.rbs

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#add(**body) ⇒ Object

POST /project/integration/manager/add

Parameters:

  • (Object)

Returns:

  • (Object)


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

Parameters:

  • id: (Integer, String)

Returns:

  • (Object)


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

Parameters:

  • (Object)

Returns:

  • (Object)


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

Parameters:

  • (Object)

Returns:

  • (Object)


15
16
17
# File 'lib/roistat/resources/managers.rb', line 15

def update(**body)
  client.post("project/integration/manager/update", body: body)
end