Sha256: 9d647f970f4bcf6a1bb27f69f0d07f0db4551c9283072b9f6a60e226dc954bb8
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
<?php require 'vendor/autoload.php'; use OpenCloud\Rackspace; $region = getenv('RAX_REGION'); $endpoint = getenv('RAX_AUTH_URL') . '/v2.0/'; $credentials = array( 'username' => getenv('RAX_USERNAME'), 'apiKey' => getenv('RAX_API_KEY') ); $directory = getenv('TEST_DIRECTORY'); $file = getenv('TEST_FILE'); $rackspace = new Rackspace($endpoint, $credentials); $cloudFilesService = $rackspace->objectStoreService('cloudFiles', $region); $container = $cloudFilesService->getContainer($directory); $object = $container->getPartialObject($file); ?>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polytrix-0.0.1 | sdks/php-opencloud/challenges/get_object_metadata.php |