Class: ThreeScaleToolbox::Commands::PlansCommand::Export::WriteArtifactsStep
- Inherits:
-
Object
- Object
- ThreeScaleToolbox::Commands::PlansCommand::Export::WriteArtifactsStep
- Includes:
- Step
- Defined in:
- lib/3scale_toolbox/commands/plans_command/export/write_artifacts_file_step.rb
Instance Attribute Summary
Attributes included from Step
Instance Method Summary collapse
-
#call ⇒ Object
Serialization of Application Plan objects.
Methods included from Step
#file, #initialize, #metric_info, #plan, #plan_system_name, #result, #service, #service_methods, #service_metrics, #service_system_name, #threescale_client
Instance Method Details
#call ⇒ Object
Serialization of Application Plan objects
9 10 11 12 13 |
# File 'lib/3scale_toolbox/commands/plans_command/export/write_artifacts_file_step.rb', line 9 def call select_output do |output| output.write(serialized_object.to_yaml) end end |