Method: Runcible::Resources::Repository.delete_distributor

Defined in:
lib/runcible/resources/repository.rb

.delete_distributor(id, distributor_id) ⇒ RestClient::Response

Deletes the specified distributor from the repository

Parameters:

  • the id of the repository

  • the id of the distributor

Returns:



178
179
180
# File 'lib/runcible/resources/repository.rb', line 178

def self.delete_distributor(id, distributor_id)
  call(:delete, "#{path(id)}/distributors/#{distributor_id}/")
end