mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
19 lines
321 B
C++
19 lines
321 B
C++
#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;
|
|
}
|