Method: Runcible::Resources::Repository.update

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

.update(id, optional = {}) ⇒ RestClient::Response

Updates a repository

Parameters:

  • id (String)

    the id of the repository

  • optional (Hash) (defaults to: {})

    container for all optional parameters

Returns:

  • (RestClient::Response)


62
63
64
# File 'lib/runcible/resources/repository.rb', line 62

def self.update(id, optional={})
  call(:put, path(id), :payload => { :delta => optional })
end