Method: Runcible::Resources::RepositorySchedule#update

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

#update(repo_id, importer_type, schedule_id, optional = {}) ⇒ RestClient::Response

Update a schedule for a repository for a given importer type

Parameters:

  • repo_id (String)

    the ID of the repository

  • importer_type (String)

    the importer type

  • schedule_id (String)

    the ID of the schedule

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

    container for all optional parameters

Returns:

  • (RestClient::Response)


47
48
49
50
# File 'lib/runcible/resources/repository_schedule.rb', line 47

def update(repo_id, importer_type, schedule_id, optional = {})
  call(:put, path(repo_id, importer_type, schedule_id),
       :payload => {:optional => optional })
end