class BatchRequest < Request

    def submit
      service.post(batch_path, opts).on_error do |response|
        case response.status