Gravatar
Gravatar URLs module for Elixir.
Installation
def deps do
[{:gravatar, "~> 0.1.0"}]
endUsage
iex(1)> Gravatar.new("test@example.com") |> to_string
"http://www.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0"
iex(2)> Gravatar.new("test@example.com") |> Gravatar.size(500) |> to_string
"http://www.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0?s=500"
iex(3)> Gravatar.new("test@example.com") |> Gravatar.size(500) |> Gravatar.secure |> to_string
"https://www.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0?s=500"Author
Contributing
- Fork it
-
Create your feature branch (
git checkout -b my-new-feature) -
Commit your changes (
git commit -am 'Add some feature') -
Push to the branch (
git push origin my-new-feature) - Create new Pull Request