lib/agile_notifier/scm.rb in agile_notifier-2.0 vs lib/agile_notifier/scm.rb in agile_notifier-2.1
- old
+ new
@@ -1,11 +1,12 @@
module AgileNotifier
class SCM
- attr_accessor :url, :repositories
+ attr_accessor :url, :repositories, :args
- def initialize(url)
+ def initialize(url, args = {})
@url = url
@repositories = []
+ @args = args
end
def add_repository(repository)
@repositories.push(repository)
end
\ No newline at end of file