Class: HmxClient::Command::GetContent
- Defined in:
- lib/hmx/command/getContent.rb
Overview
Get document content from hmx
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#index ⇒ Object
getContent .
Methods inherited from Base
#hmx, #initialize, #loadConfig!, namespace, #removeConfig, #storeConfig, #writeConfig
Methods included from Helpers
#display, #display_row, #display_tab, #display_table, #error, #getFromUser, #longest
Constructor Details
This class inherits a constructor from HmxClient::Command::Base
Instance Method Details
#index ⇒ Object
getContent
get the data part of a document from hmx, given its display name
13 14 15 16 17 18 |
# File 'lib/hmx/command/getContent.rb', line 13 def index unless args.size > 0 raise CommandFailed, "Usage: hmx getContent displayname" end dout hmx.doGetContent(args) end |