Class: ThreeScaleToolbox::Commands::ServiceCommand::CreateSubcommand::CustomPrinter
- Inherits:
-
Object
- Object
- ThreeScaleToolbox::Commands::ServiceCommand::CreateSubcommand::CustomPrinter
- Defined in:
- lib/3scale_toolbox/commands/service_command/create_command.rb
Instance Attribute Summary collapse
-
#option_default ⇒ Object
readonly
Returns the value of attribute option_default.
-
#option_disabled ⇒ Object
readonly
Returns the value of attribute option_disabled.
Instance Method Summary collapse
Instance Attribute Details
#option_default ⇒ Object (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_disabled ⇒ Object (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
#print_collection(collection) ⇒ Object
14 |
# File 'lib/3scale_toolbox/commands/service_command/create_command.rb', line 14 def print_collection(collection) end |
#print_record(service) ⇒ Object
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 |