Class: FluentCommandBuilder::TeamFoundation::V100::DeleteProxyRecord
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::DeleteProxyRecord
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, url) ⇒ DeleteProxyRecord
Returns a new instance of DeleteProxyRecord.
1358
1359
1360
1361
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1358
def initialize(underlying_builder, url)
super underlying_builder
@b.append " proxy /delete #{@b.format url}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1362
1363
1364
1365
1366
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1362
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1367
1368
1369
1370
1371
1372
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1367
def login(username, password=nil)
@b.append " /login:#{@b.format username}"
@b.append ",#{@b.format_password password}" unless password.nil?
yield @b if block_given?
self
end
|