thumbor_client v0.1.0 ThumborClient
Documentation for ThumborClient.
Link to this section Summary
Functions
Method to get the Thumbor Client This methods is a HOF to return the client of Thumbor
Encrypt to Thumbor. Thumbor requires an specific encryption to work. The encryption is a HMAC-SHA1 using the secret key setted in thumbor server and the path. After encrypt with HMAC-SHA1, must be encrypted with Base64 url_encode
Link to this section Functions
Method to get the Thumbor Client This methods is a HOF to return the client of Thumbor
Examples
iex> client = ThumborClient.client(“123”) iex> client.(“500/500/image.jpg”) “VMKhXMULBn4h1UC52W3YliEgFfg=/500/500/image.jpg”
Encrypt to Thumbor. Thumbor requires an specific encryption to work. The encryption is a HMAC-SHA1 using the secret key setted in thumbor server and the path. After encrypt with HMAC-SHA1, must be encrypted with Base64 url_encode.
Examples
iex> ThumborClient.encrypt_to_thumbor(“123”, “500/500/image.jpg”) “VMKhXMULBn4h1UC52W3YliEgFfg=”