lib/logstash_auditor/auditor.rb
def audit(audit_data)
      request = create_request(audit_data)
      http = create_http_transport
      send_request_to_server(http, request)
    end
def audit(audit_data)
      request = create_request(audit_data)
      http = create_http_transport
      send_request_to_server(http, request)
    end
def audit ( audit_data ) request = create_request ( audit_data ) http = create_http_transport send_request_to_server ( http , request ) end
inversion of control method required by the AuditorAPI
inversion of control method required by the AuditorAPI