Class: GoodData::LCM2::HelloWorld
- Inherits:
-
BaseAction
- Object
- BaseAction
- GoodData::LCM2::HelloWorld
- Defined in:
- lib/gooddata/lcm/actions/hello_world.rb
Constant Summary collapse
- DESCRIPTION =
'Print Hello World Message'
- PARAMS =
define_params(self) do description 'Message to be printed' param :message, instance_of(Type::StringType), required: false description 'Number of Iterations' param :iterations, instance_of(Type::IntegerType), required: false, default: 1 end
Constants inherited from BaseAction
BaseAction::FAILED_CLIENTS, BaseAction::FAILED_PROJECTS, BaseAction::FAILED_SEGMENTS, BaseAction::SYNC_FAILED_LIST
Constants included from Dsl::Dsl
Dsl::Dsl::DEFAULT_OPTS, Dsl::Dsl::TYPES
Class Method Summary collapse
Methods inherited from BaseAction
add_failed_client, add_failed_project, add_failed_segment, add_new_clients_to_project_client_mapping, check_params, collect_synced_status, continue_on_error, print_result, process_failed_project, process_failed_projects, sync_failed_client, sync_failed_project, sync_failed_segment, without_check
Methods included from Dsl::Dsl
#define_params, #define_type, #process
Class Method Details
.call(params) ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/gooddata/lcm/actions/hello_world.rb', line 27 def call(params) say(params.) msg = { message: params. } results = [msg] # Return results results end |