Module: AssLauncher::Cmd::Abstract::Option::Esrv Private

Includes:
Support::SrvStrParser
Included in:
Main::SubCommands::MakeIb
Defined in:
lib/ass_launcher/cmd.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Mixin Command option

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Support::SrvStrParser

#parse_srv_str

Instance Attribute Details

#esrv_hostObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



322
323
324
# File 'lib/ass_launcher/cmd.rb', line 322

def esrv_host
  @esrv_host
end

#esrv_passObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



322
323
324
# File 'lib/ass_launcher/cmd.rb', line 322

def esrv_pass
  @esrv_pass
end

#esrv_userObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



322
323
324
# File 'lib/ass_launcher/cmd.rb', line 322

def esrv_user
  @esrv_user
end

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



328
329
330
331
332
333
334
# File 'lib/ass_launcher/cmd.rb', line 328

def self.included(base)
  base.option '--esrv', 'user:pass@esrv',
              'enterprise server address' do |s|
    parse_esrv(s)
    s
  end
end

Instance Method Details

#parse_esrv(s) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



324
325
326
# File 'lib/ass_launcher/cmd.rb', line 324

def parse_esrv(s)
  @esrv_host, @esrv_user, @esrv_pass = parse_srv_str(s)
end