Method: Runcible::Resources::Repository.sync

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

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

Syncs a repository

Parameters:

  • the id of the repository

  • (defaults to: {})

    container for all optional parameters

Returns:



120
121
122
# File 'lib/runcible/resources/repository.rb', line 120

def self.sync(id, optional={})
  call(:post, "#{path(id)}actions/sync/", :payload => { :optional => optional })
end