Class | HammerCLIImport::BaseCommand |
In: |
lib/hammer_cli_import/base.rb
|
Parent: | HammerCLI::Apipie::Command |
api_pwd | [R] | |
api_usr | [R] | |
reportname | [RW] |
Call API. Ideally accessed via api_call instance method. This is supposed to be the only way to access @api.
Initialize API. Needed to be called before any api_call calls. If used in shell, it may be called multiple times
Create entity, with recovery strategy.
this method returns a first found original_id (since we‘re able to map several organizations into one)
Method to call when you have created/deleted/found/mapped… something. Collected data used for summary reporting.
:found is used for situation, when you want to create something, but you found out, it is already created.
Method for use when writing messages to user.
> to_singular(:contentveiws) "contentview" > to_singular(:repositories) "repository"