Method: Runcible::Resources::RepositorySchedule#create
- Defined in:
- lib/runcible/resources/repository_schedule.rb
#create(repo_id, importer_type, schedule, optional = {}) ⇒ RestClient::Response
Create a schedule for a repository for a given importer type
35 36 37 38 |
# File 'lib/runcible/resources/repository_schedule.rb', line 35 def create(repo_id, importer_type, schedule, optional = {}) call(:post, path(repo_id, importer_type), :payload => { :required => {:schedule => schedule}, :optional => optional }) end |