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
- #esrv_host ⇒ Object readonly private
- #esrv_pass ⇒ Object readonly private
- #esrv_user ⇒ Object readonly private
Class Method Summary collapse
- .included(base) ⇒ Object private
Instance Method Summary collapse
- #parse_esrv(s) ⇒ Object private
Methods included from Support::SrvStrParser
Instance Attribute Details
#esrv_host ⇒ Object (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_pass ⇒ Object (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_user ⇒ Object (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 |