lib/synaccess_connect/net_booter/http/http_connection.rb
def toggle(outlet, status)
      current_status = status(outlet)
      toggle_relay(outlet) if current_status != status
      status
    end
def toggle(outlet, status)
      current_status = status(outlet)
      toggle_relay(outlet) if current_status != status
      status
    end
Toggle the status of an outlet

 Example:
  >> netbooter.toggle(1, false)
  => false

 Arguments:
 +outlet+ The outlet you want to toggle
 +status+ Boolean. true to turn on, false to turn off

 Returns:
 boolean - The new status of the outlet