1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/Response.cpp

20 lines
321 B
C++
Raw Normal View History

#include "Response.h"
#include <iostream>
Response::Response(bool success, QString message) {
m_success = success;
m_message = message;
}
Response::Response(bool success) {
m_success = success;
}
bool Response::isSuccess() const {
return m_success;
}
QString Response::message() const {
return m_message;
}