Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSzturo committed Feb 1, 2015
1 parent b94dcc4 commit 0cc7c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add countries as a dependency in your ```mix.exs``` file.

```Elixir
def deps do
[ { :countries, "~> 1.0" } ]
[{ :countries, "~> 1.0" }]
end
```

Expand All @@ -22,7 +22,7 @@ Find country by attribute.
```Elixir
country = Countries.filter_by(:alpha2, "DE")
# [%Countries.Country{alpha2: 'DE', alpha3: 'DEU', continent: 'Europe',
# country_code: '49', currency: 'EUR', ...]
# country_code: '49', currency: 'EUR', ...]

countries = Countries.filter_by(:region, "Europe")
Enum.count(countries)
Expand Down

0 comments on commit 0cc7c68

Please sign in to comment.