Class: HmxClient::Command::ScriptHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/hmx/command/check.rb

Overview

This is where we’ll put the helper functions ($Helper.doGetData)

Instance Method Summary collapse

Constructor Details

#initialize(rootFolder) ⇒ ScriptHelper

Returns a new instance of ScriptHelper.



148
149
150
# File 'lib/hmx/command/check.rb', line 148

def initialize(rootFolder)
   @rootFolder = rootFolder
end

Instance Method Details

#getDataAsMap(displayName) ⇒ Object



152
153
154
# File 'lib/hmx/command/check.rb', line 152

def getDataAsMap(displayName)
   { "data" => @rootFolder }
end