Class: FluentCommandBuilder::Netsh::V2008::Http
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Netsh::V2008::Http
- Defined in:
- lib/fluent_command_builder/command_builders/netsh_2008.rb
Instance Method Summary collapse
- #add_url_acl(url) ⇒ Object
- #delete_url_acl(url) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Http
constructor
A new instance of Http.
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Http
Returns a new instance of Http.
355 356 357 358 |
# File 'lib/fluent_command_builder/command_builders/netsh_2008.rb', line 355 def initialize(builder) super builder @builder.append ' http' end |
Instance Method Details
#add_url_acl(url) ⇒ Object
359 360 361 |
# File 'lib/fluent_command_builder/command_builders/netsh_2008.rb', line 359 def add_url_acl(url) AddUrlAcl.new @builder, url end |
#delete_url_acl(url) {|@builder| ... } ⇒ Object
362 363 364 365 366 |
# File 'lib/fluent_command_builder/command_builders/netsh_2008.rb', line 362 def delete_url_acl(url) @builder.append " delete urlacl url=#{@builder.format url}" yield @builder if block_given? self end |