lib/Janrain/Api/Capture/Settings.php
public function setDefault($key, $value)
	{
		$params = array('key' => $key, 'value' => $value);
		if (is_array($value)) {
			$params['value'] = json_encode($value);
		}

		return $this->post('settings/set_default', $params);
	}
public function setDefault($key, $value)
	{
		$params = array('key' => $key, 'value' => $value);
		if (is_array($value)) {
			$params['value'] = json_encode($value);
		}

		return $this->post('settings/set_default', $params);
	}
public function setDefault ( $ key , $ value ) { $ params = array ( 'key' => $ key , 'value' => $ value ) ; if ( is_array ( $ value ) ) { $ params [ 'value' ] = json_encode ( $ value ) ; } return $ this -> post ( 'settings/set_default' , $ params ) ; }
Set the application-wide default value for a key. This will create a new
key with a default value, if the key does not yet exist in the application.
If the key does exist, the value will be overwritten.

Returns a boolean that indicates whether the key already existed. "True"
indicates the key has been overwritten. "False" indicates that a new key
has been created.

@param string $key   The key to add or modifiy
@param string $value The value to assign to the key
Set the application - wide default value for a key . This will create a new key with a default value if the key does not yet exist in the application . If the key does exist the value will be overwritten .