class AgileNotifier::CI::Job
Attributes
current_build[R]
name[RW]
url[RW]
Public Class Methods
new(name, url, build_number = nil)
click to toggle source
# File lib/agile_notifier/ci.rb, line 23 def initialize(name, url, build_number = nil) @name = name @url = url @current_build = build_number.nil? ? get_last_build : get_specific_build(build_number.to_i) end
Public Instance Methods
get_last_build()
click to toggle source
# File lib/agile_notifier/ci.rb, line 33 def get_last_build raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller) end
get_specific_build(build_number)
click to toggle source
# File lib/agile_notifier/ci.rb, line 29 def get_specific_build(build_number) raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller) end