class ThreeScaleToolbox::Commands::PlansCommand::Create::CustomPrinter
Attributes
option_default[R]
option_disabled[R]
Public Class Methods
new(option_default, option_disabled)
click to toggle source
# File lib/3scale_toolbox/commands/plans_command/create_command.rb, line 8 def initialize(option_default, option_disabled) @option_default = option_default @option_disabled = option_disabled end
Public Instance Methods
print_collection(collection)
click to toggle source
# File lib/3scale_toolbox/commands/plans_command/create_command.rb, line 17 def print_collection(collection) end
print_record(plan)
click to toggle source
# File lib/3scale_toolbox/commands/plans_command/create_command.rb, line 13 def print_record(plan) puts "Created application plan id: #{plan['id']}. Default: #{option_default}; Disabled: #{option_disabled}" end