Class: HmxClient::Command::ScriptHelper
- Inherits:
-
Object
- Object
- HmxClient::Command::ScriptHelper
- Defined in:
- lib/hmx/command/check.rb
Overview
This is where we’ll put the helper functions ($Helper.doGetData)
Instance Method Summary collapse
- #getDataAsMap(displayName) ⇒ Object
-
#initialize(rootFolder) ⇒ ScriptHelper
constructor
A new instance of ScriptHelper.
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 |