Magestead\Service\UsageApi::__construct PHP Method

__construct() public method

UsageApi constructor.
public __construct ( $data )
$data
    public function __construct($data)
    {
        $this->_params['os_type'] = urlencode($data['os']);
        $this->_params['server_type'] = urlencode($data['server']);
        $this->_params['php_version'] = urlencode($data['phpver']);
        $this->_params['application_version'] = urlencode($data['app']);
        $this->_params['vm_memory_limit'] = urlencode($data['memory_limit']);
        $this->_params['vm_cpu_count'] = urlencode($data['cpus']);
        $this->_params['ip_address'] = urlencode($data['ip_address']);
        $this->_params['box'] = urlencode($data['box']);
        $this->_params['locale'] = urlencode($data['locale']);
        $this->_params['default_currency'] = urlencode($data['default_currency']);
    }