Class: Sonar::Connector::UpdateStatusCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/sonar_connector/commands/update_status_command.rb

Instance Attribute Summary

Attributes inherited from Command

#proc

Instance Method Summary collapse

Methods inherited from Command

#execute

Constructor Details

#initialize(connector, field, value) ⇒ UpdateStatusCommand

Returns a new instance of UpdateStatusCommand.



8
9
10
11
12
13
# File 'lib/sonar_connector/commands/update_status_command.rb', line 8

def initialize(connector, field, value)
  l = lambda do
    status.set connector.name, field, value
  end
  super(l)
end