Sha256: 812301fefecd7504275c6ae25c479a08ebbb298140eab76eff174bc69988b29e

Contents?: true

Size: 375 Bytes

Versions: 20

Compression:

Stored size: 375 Bytes

Contents

#!/usr/bin/env bash

API_ENDPOINT="https://sub-account-testing.cloudinary.com/create_sub_account"

SDK_NAME="${1}"

CLOUD_DETAILS=$(curl -sS -d "{\"prefix\" : \"${SDK_NAME}\"}" "${API_ENDPOINT}")

echo "${CLOUD_DETAILS}" | ruby -e "require 'json'; c=JSON.parse(ARGF.read)['payload']; puts 'cloudinary://' + c['cloudApiKey'] + ':'+ c['cloudApiSecret'] + '@' + c['cloudName']"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cloudinary-2.2.0 tools/allocate_test_cloud.sh
cloudinary-2.1.2 tools/allocate_test_cloud.sh
cloudinary-2.0.2 tools/allocate_test_cloud.sh
cloudinary-2.0.1 tools/allocate_test_cloud.sh
cloudinary-2.0.0 tools/allocate_test_cloud.sh
cloudinary-1.29.0 tools/allocate_test_cloud.sh
cloudinary-1.28.0 tools/allocate_test_cloud.sh
cloudinary-1.27.0 tools/allocate_test_cloud.sh
cloudinary-1.26.0 tools/allocate_test_cloud.sh
cloudinary-1.25.0 tools/allocate_test_cloud.sh
cloudinary-1.24.0 tools/allocate_test_cloud.sh
cloudinary-1.23.0 tools/allocate_test_cloud.sh
cloudinary-1.22.0 tools/allocate_test_cloud.sh
cloudinary-1.21.0 tools/allocate_test_cloud.sh
cloudinary-1.20.0 tools/allocate_test_cloud.sh
cloudinary-1.19.0 tools/allocate_test_cloud.sh
cloudinary-1.18.1 tools/allocate_test_cloud.sh
cloudinary-1.18.0 tools/allocate_test_cloud.sh
cloudinary-1.17.1 tools/allocate_test_cloud.sh
cloudinary-1.17.0 tools/allocate_test_cloud.sh