diff options
Diffstat (limited to 'Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php')
-rw-r--r-- | Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php new file mode 100644 index 0000000..077238e --- /dev/null +++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php @@ -0,0 +1,40 @@ +<?php + +namespace SendGrid; + +class Response +{ + public + $code, + $headers, + $raw_body, + $body; + + public function __construct($code, $headers, $raw_body, $body) + { + $this->code = $code; + $this->headers = $headers; + $this->raw_body = $raw_body; + $this->body = $body; + } + + public function getCode() + { + return $this->code; + } + + public function getHeaders() + { + return $this->headers; + } + + public function getRawBody() + { + return $this->raw_body; + } + + public function getBody() + { + return $this->body; + } +} |