cloudex v0.1.3 Cloudex.CloudinaryApi.Live

The live API implementation for Cloudinary uploading

Summary

Functions

Converts the json result from cloudinary to a %UploadedImage{} struct

Helper function to enable piping of {:ok, path} tuples into upload

Catches upload called without a string argument

Functions

json_result_to_struct(result, source)

Converts the json result from cloudinary to a %UploadedImage{} struct

upload(arg)

Specs

upload({:ok, item :: String.t}) :: Cloudex.UploadedImage.t

Helper function to enable piping of {:ok, path} tuples into upload

upload(item, opts \\ %{})

Specs

upload(item :: String.t, opts :: map) :: Cloudex.UploadedImage.t

Catches upload called without a string argument