Current section
Files
Jump to
Current section
Files
lib/cloudex/cloudinary_api.ex
defmodule Cloudex.CloudinaryApi do
@moduledoc "Defines behaviour of the API implementation of Cloudinary"
@callback upload(item :: String.t) :: {:ok, %Cloudex.UploadedImage{}}
@callback upload({:ok, item :: String.t}) :: {:ok, %Cloudex.UploadedImage{}}
end