Class: FluentCommandBuilder::TeamFoundation::V100::AddProxyRecord
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::AddProxyRecord
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) ⇒ AddProxyRecord
Returns a new instance of AddProxyRecord.
1321
1322
1323
1324
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1321
def initialize(underlying_builder, url)
super underlying_builder
@b.append " proxy /add #{@b.format url}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1345
1346
1347
1348
1349
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1345
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#default(scope) {|@b| ... } ⇒ Object
1340
1341
1342
1343
1344
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1340
def default(scope)
@b.append " /default:#{@b.format scope}"
yield @b if block_given?
self
end
|
#description(description) {|@b| ... } ⇒ Object
1335
1336
1337
1338
1339
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1335
def description(description)
@b.append " /description:#{@b.format description}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1350
1351
1352
1353
1354
1355
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1350
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
|
#name(name) {|@b| ... } ⇒ Object
1325
1326
1327
1328
1329
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1325
def name(name)
@b.append " /name:#{@b.format name}"
yield @b if block_given?
self
end
|
#site(site_name) {|@b| ... } ⇒ Object
1330
1331
1332
1333
1334
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1330
def site(site_name)
@b.append " /site:#{@b.format site_name}"
yield @b if block_given?
self
end
|