Class: ThreeScaleToolbox::Commands::ServiceCommand::CreateSubcommand::CustomPrinter

Inherits:
Object
  • Object
show all
Defined in:
lib/3scale_toolbox/commands/service_command/create_command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#option_defaultObject (readonly)

Returns the value of attribute option_default.



8
9
10
# File 'lib/3scale_toolbox/commands/service_command/create_command.rb', line 8

def option_default
  @option_default
end

#option_disabledObject (readonly)

Returns the value of attribute option_disabled.



8
9
10
# File 'lib/3scale_toolbox/commands/service_command/create_command.rb', line 8

def option_disabled
  @option_disabled
end

Instance Method Details



14
# File 'lib/3scale_toolbox/commands/service_command/create_command.rb', line 14

def print_collection(collection) end


10
11
12
# File 'lib/3scale_toolbox/commands/service_command/create_command.rb', line 10

def print_record(service)
  puts "Service '#{service['name']}' has been created with ID: #{service['id']}"
end