Module: FluentCommandBuilder::AppCfgPython::V16

Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_16.rb

Defined Under Namespace

Classes: AppCfgPython, Backends, Configure, CreateBulkloadConfig, CronInfo, Delete, DownloadApp, DownloadData, Help, List, RequestLogs, ResourceLimitsInfo, Rollback, SetDefaultVersion, Start, Stop, Update, UpdateCron, UpdateDos, UpdateIndexes, UpdateQueues, UploadData, VacuumIndexes

Constant Summary collapse

VERSION =
'1.6'
@@config =
CommandBuilderConfig.new FluentCommandBuilder::AppCfgPython::COMMAND_NAME, VERSION

Instance Method Summary collapse

Instance Method Details

#appcfg_python {|b| ... } ⇒ Object

Yields:

  • (b)


17
18
19
20
21
22
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 17

def appcfg_python
  b = UnderlyingBuilder.new @@config
  c = AppCfgPython.new(b)
  yield b if block_given?
  c
end

#configure_appcfg_python {|@@config| ... } ⇒ Object

Yields:

  • (@@config)


12
13
14
15
16
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 12

def configure_appcfg_python
  yield @@config
  @@config.validate_path
  @@config.validate_version
end