cloudex v0.1.12 Cloudex.CloudinaryApi.Live

The live API implementation for Cloudinary uploading

Summary

Functions

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

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(item, opts \\ %{})

Specs

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

Catches upload called without a string argument