You are here

public function DummyAcquiaLiftHttpClient::put in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 tests/acquia_lift.test_classes.inc \DummyAcquiaLiftHttpClient::put()

Implements AcquiaLiftDrupalHttpClientInterface::put().

Overrides AcquiaLiftDrupalHttpClientInterface::put

File

tests/acquia_lift.test_classes.inc, line 266
Provides test classes for Acquia Lift

Class

DummyAcquiaLiftHttpClient
Classes used for testing.

Code

public function put($uri = null, $headers = null, $body = null, array $options = array()) {
  $this
    ->logRequest('put', $uri, $headers, $options, $body);
  return $this
    ->generateDummyResponse(array(
    'status' => 'ok',
  ));
}