You are here

public function WSClientEndpoint::__construct in Web service client 7

Overrides WSClientEndpointInterface::__construct

1 method overrides WSClientEndpoint::__construct()
WSClientRESTEndpoint::__construct in wsclient_rest/wsclient_rest.inc

File

./wsclient.inc, line 224
Web service client - include file.

Class

WSClientEndpoint
Default parent class for service endpoints.

Code

public function __construct(WSClientServiceDescription $service) {
  $this->service = $service;
  $this->url = $service->url;
}