public function process(\SS_HTTPRequest $request)
    {
        if ($identifier = $request->param('ID')) {
            if ($this->currencyService->setActiveCurrency(new Identifier($identifier))) {
                return [
                    'Success' => true
                ];
            }
        }

        return [
            'Success' => false
        ];
    }
public function process(\SS_HTTPRequest $request)
    {
        if ($identifier = $request->param('ID')) {
            if ($this->currencyService->setActiveCurrency(new Identifier($identifier))) {
                return [
                    'Success' => true
                ];
            }
        }

        return [
            'Success' => false
        ];
    }
public function process ( \ SS_HTTPRequest $ request ) { if ( $ identifier = $ request -> param ( 'ID' ) ) { if ( $ this -> currencyService -> setActiveCurrency ( new Identifier ( $ identifier ) ) ) { return [ 'Success' => true ] ; } } return [ 'Success' => false ] ; }
Method to determine how to handle the request.
Uses the currency service to set the active currency
@param  \SS_HTTPRequest $request
@return array
Method to determine how to handle the request . Uses the currency service to set the active currency