Module: SensuPluginsOpsgenie::Version

Defined in:
lib/sensu-plugins-opsgenie/version.rb

Overview

This defines the version of the gem

Constant Summary collapse

MAJOR =
4
MINOR =
3
PATCH =
0
VER_STRING =
[MAJOR, MINOR, PATCH].compact.join('.')
NAME =
'sensu-plugins-opsgenie'.freeze
"#{NAME} v%s".freeze

Class Method Summary collapse

Class Method Details

.json_versionObject



22
23
24
25
26
# File 'lib/sensu-plugins-opsgenie/version.rb', line 22

def json_version
  {
    'version' => VER_STRING
  }.to_json
end

.versionObject



18
19
20
# File 'lib/sensu-plugins-opsgenie/version.rb', line 18

def version
  format(BANNER, VER_STRING)
end