def save
      result = validate
      fail result unless result == true
      @log.debug(to_json)
      if handlerId
        @client.update_event_handler(handlerId, to_json)
      else
        @client.create_event_handler(to_json)
      end
    end
def save
      result = validate
      fail result unless result == true
      @log.debug(to_json)
      if handlerId
        @client.update_event_handler(handlerId, to_json)
      else
        @client.create_event_handler(to_json)
      end
    end
現在の内容でEventHandlerを作成または更新