Class: FerrisBueller::Main

Inherits:
Mjolnir
  • Object
show all
Includes:
Helpers
Defined in:
lib/ferris-bueller/main.rb

Constant Summary

Constants included from Constants

Constants::CLOSED_STATE, Constants::CLOSED_TRANSITIONS, Constants::RESOLVED_STATE, Constants::RESOLVED_TRANSITIONS, Constants::RETRY_DELAY, Constants::SEVERITIES, Constants::SEVERITY_FIELD, Constants::SHOW_FIELDS

Constants inherited from Mjolnir

FerrisBueller::Mjolnir::COMMON_OPTIONS

Instance Method Summary collapse

Methods included from Helpers

#go_refresh_jira_incidents, #go_refresh_jira_members, #go_refresh_jira_users, #jira_request, #refresh_jira_incidents, #refresh_jira_members, #refresh_jira_users, #start_your_day_off, #store

Methods inherited from Mjolnir

include_common_options

Instance Method Details

#artObject



18
19
20
# File 'lib/ferris-bueller/main.rb', line 18

def art
  puts "\n%s\n" % ART
end

#startObject



103
104
105
106
107
108
109
110
# File 'lib/ferris-bueller/main.rb', line 103

def start
  log.info 'starting...'
  @store = {}
  go_refresh_jira_users
  go_refresh_jira_members
  go_refresh_jira_incidents
  start_your_day_off
end

#versionObject



12
13
14
# File 'lib/ferris-bueller/main.rb', line 12

def version
  puts VERSION
end