Class: FluentCommandBuilder::Tf::V2010::ListProxyRecords
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::V2010::ListProxyRecords
- Defined in:
- lib/fluent_command_builder/command_builders/tf_2010.rb
Instance Method Summary collapse
- #collection(team_project_collection_url) {|@builder| ... } ⇒ Object
-
#initialize(builder, url) ⇒ ListProxyRecords
constructor
A new instance of ListProxyRecords.
- #login(username, password = nil) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, url) ⇒ ListProxyRecords
Returns a new instance of ListProxyRecords.
1360 1361 1362 1363 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1360 def initialize(builder, url) super builder @builder.append " proxy /list #{@builder.format url, ' '}" end |
Instance Method Details
#collection(team_project_collection_url) {|@builder| ... } ⇒ Object
1364 1365 1366 1367 1368 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1364 def collection(team_project_collection_url) @builder.append " /collection:#{@builder.format team_project_collection_url}" yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
1369 1370 1371 1372 1373 1374 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1369 def login(username, password=nil) @builder.append " /login:#{@builder.format username}" @builder.append ",#{@builder.format password}" unless password.nil? yield @builder if block_given? self end |