Class: AgileNotifier::CI

Inherits:
Object
  • Object
show all
Includes:
Servable
Defined in:
lib/agile_notifier/ci.rb

Direct Known Subclasses

Jenkins

Defined Under Namespace

Classes: Job

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#jobObject

Returns the value of attribute job.



9
10
11
# File 'lib/agile_notifier/ci.rb', line 9

def job
  @job
end

Instance Method Details

#get_all_jobsObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/agile_notifier/ci.rb', line 15

def get_all_jobs
  raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller)
end

#is_available?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/agile_notifier/ci.rb', line 11

def is_available?
  original_is_available?(@url)
end

#original_is_available?Object



7
# File 'lib/agile_notifier/ci.rb', line 7

alias_method :original_is_available?, :is_available?