diff --git a/lib/build_server.rb b/lib/build_server.rb index 513b81cc4..e3b2a1cd1 100644 --- a/lib/build_server.rb +++ b/lib/build_server.rb @@ -35,10 +35,14 @@ class BuildServer def self.create_repo name, platform_name - self.client.call('create_repo', name, platform_name) + self.client.call('create_repository', name, platform_name) end + def self.delete_repo name, platform_name + self.client.call('delete_repository', name, platform_name) + end + def self.clone_repo new_name, old_name, new_platform_name self.client.call('clone_repo', new_name, old_name, new_platform_name) end