/home/arranoyd/gazehome/wp-content/themes/uncode/core/inc/api/class-api-license.php
<?php
/**
 * API License Class
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if ( ! class_exists( 'Uncode_API_License' ) ) :

/**
 * Uncode_API_License Class
 */
class Uncode_API_License {

	/**
	 * Endpoint.
	 */
	private $endpoint = 'https://api.undsgn.com/uncode-license/';

	/**
	 * Get things going
	 */
	function __construct() {
		// Do nothing
	}

	/**
	 * Add new license.
	 */
	public function save_license( $purchase_code ) {
		// Make the request
		$response = 3;

		// Check response
		$response_code = $response;

		return $response_code;
	}
}

endif;