Module: Jamf::Client::JamfHelper

Included in:
Jamf::Client
Defined in:
lib/jamf/client/jamf_helper.rb

Overview

Module for working with jamfHelper.app on a managed client Mac This should be included into Jamf::Client

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

JAMF_HELPER =

The Pathname to the jamfHelper executable

SUPPORT_BIN_FOLDER + 'jamfHelper.app/Contents/MacOS/jamfHelper'
JAMF_HELPER_WINDOW_TYPES =

The window_type options for jamfHelper

{
  hud: 'hud',
  utility: 'utility',
  util: 'utility',
  full_screen: 'fs',
  fs: 'fs'
}.freeze
JAMF_HELPER_WINDOW_POSITIONS =

The possible window positions for jamfHelper

[nil, :ul, :ll, :ur, :lr].freeze
JAMF_HELPER_BUTTONS =

The available buttons in jamfHelper

[1, 2].freeze
JAMF_HELPER_ALIGNMENTS =

The possible alignment positions in jamfHelper

%i[right left center justified natural].freeze

Class Method Summary collapse

Class Method Details

.included(includer) ⇒ Object

when this module is included, also extend our Class Methods



58
59
60
61
# File 'lib/jamf/client/jamf_helper.rb', line 58

def self.included(includer)
  Jamf.load_msg "--> #{includer} is including Jamf::Client::JamfHelper"
  includer.extend(ClassMethods)
end