diff --git a/app/models/Data/RequestMeta.php b/app/models/Data/RequestMeta.php index df164fa..6841560 100644 --- a/app/models/Data/RequestMeta.php +++ b/app/models/Data/RequestMeta.php @@ -18,6 +18,20 @@ class RequestMeta extends Model */ protected $callbackid; + /** + * Source IP Address + * + * @var string + */ + protected $source_ip; + + /** + * HTTP Method + * + * @var string + */ + protected $method; + /** * HTTP Request Uri * @@ -79,6 +93,42 @@ class RequestMeta extends Model return $this; } + /** + * @param string $source_ip + * @return RequestMeta + */ + public function setSourceIp($source_ip) + { + $this->source_ip = (string) $source_ip; + return $this; + } + + /** + * @return mixed + */ + public function getSourceIp() + { + return $this->source_ip; + } + + /** + * @param string $method + * @return RequestMeta + */ + public function setMethod($method) + { + $this->method = (string) $method; + return $this; + } + + /** + * @return string + */ + public function getMethod() + { + return $this->method; + } + /** * @param string $uri * @return RequestMeta