Method: Sem::API::Team#remove_user
- Defined in:
- lib/sem/api/team.rb
#remove_user(username) ⇒ Object
56 57 58 59 60 |
# File 'lib/sem/api/team.rb', line 56 def remove_user(username) Sem::API::Base.client.users.detach_from_team!(username, id) rescue SemaphoreClient::Exceptions::NotFound raise Sem::Errors::ResourceNotFound.new("User", [username]) end |