Set Mashape Key by calling setDefaultHeader

This commit is contained in:
thibaultCha
2015-02-05 23:02:12 -08:00
parent 491064f40b
commit 8b47e051ba

View File

@@ -98,7 +98,7 @@ class Request
*/ */
public static function setMashapeKey($key) public static function setMashapeKey($key)
{ {
return self::$defaultHeaders['X-Mashape-Key'] = $key; return self::defaultHeader('X-Mashape-Key', $key);
} }
/** /**