Class: ThreeScaleToolbox::CLI::YamlPrinter

Inherits:
Object
  • Object
show all
Defined in:
lib/3scale_toolbox/cli/yaml_printer.rb

Instance Method Summary collapse

Instance Method Details



8
9
10
# File 'lib/3scale_toolbox/cli/yaml_printer.rb', line 8

def print_collection(collection)
  puts YAML.dump(collection)
end


4
5
6
# File 'lib/3scale_toolbox/cli/yaml_printer.rb', line 4

def print_record(record)
  puts YAML.dump(record)
end