Method: Runcible::Resources::RepositoryGroup.unassociate

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

.unassociate(id, criteria) ⇒ RestClient::Response

Unassociates Repositories with a Repository Group

Parameters:

  • id (String)

    the ID of the Repository group

  • criteria (Hash)

    criteria based on Mongo syntax representing repos ta unassociate

Returns:

  • (RestClient::Response)


87
88
89
# File 'lib/runcible/resources/repository_group.rb', line 87

def self.unassociate(id, criteria)
  call(:post, path(id) + "actions/unassociate/", :payload => {:required => criteria})
end