def send_event(workflow_name, custom_id, event)
      body = {
        ATTR_PROG => PROG,
        ATTR_NAME => workflow_name,
        ATTR_ID => custom_id,
        EVENT_NAME => event.class.name,
        EVENT_INPUT => @serializer.encode(@properties.from(event))
      }
      @http.post(send_event_url, body)
    end
def send_event(workflow_name, custom_id, event)
      body = {
        ATTR_PROG => PROG,
        ATTR_NAME => workflow_name,
        ATTR_ID => custom_id,
        EVENT_NAME => event.class.name,
        EVENT_INPUT => @serializer.encode(@properties.from(event))
      }
      @http.post(send_event_url, body)
    end
Sends an event to a workflow
 @param workflow_name [String] the class name of the workflow
 @param custom_id [String] the custom ID of the workflow (if any)
 @param event [Zenaton::Interfaces::Event] the event to send
 @return [NilClass]