Sha256: 5efc142cf51966771e61513c8af05512fa8fa3bd1f1337f099883f5e56af5305
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
module GitDuplicator # Abstract class to use when defining new Git service provider class ServiceRepository < Repository attr_accessor :owner # Initializer # @param [String] name name of the repository # @param [String] owner owner of the repository # @param [String] working_directory working directory of the repository def initialize(name, owner, working_directory = nil) self.owner = owner super(name, url, working_directory) end # URL of the repositroy def url fail NotImplementedError end # Create the repositroy def create fail NotImplementedError end # Delete the repositroy def delete fail NotImplementedError end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_duplicator-1.0.0 | lib/git_duplicator/repository/service_repository.rb |