minor doc changes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
diff --git a/README.md b/README.md
index 875912e..f415bd7 100644
--- a/README.md
+++ b/README.md
@@ -35,30 +35,30 @@ functions of the ***ex_ovh*** `API`.
#### Examples - Method 1 - Building the queries manually and send the request (my preferred way)
-- `GET /me`
-```
-%ExOvh.Query{headers: [], method: :get, params: %{}, service: :ovh, uri: "/me"} \
-|> MyApp.OvhClient.request!()
-```
-
-- `GET /me/api/application`
-```
-%ExOvh.Query{headers: [], method: :get, params: %{}, service: :ovh, uri: "/me/api/application"} \
-|> MyApp.OvhClient.request!()
-```
-
- `GET /me/api/application/#{app_id}`
```
app_id = "0"
-%ExOvh.Query{headers: [], method: :get, params: %{}, service: :ovh, uri: "/me/api/application/#{app_id}"} \
+%ExOvh.Query{
+ headers: [],
+ method: :get,
+ params: %{},
+ service: :ovh,
+ uri: "/me/api/application/#{app_id}"
+}
|> MyApp.OvhClient.request!()
```
- `GET /cloud/project/{serviceName}/storage`
```
-service_name = "service_name" \
-%ExOvh.Query{headers: [], method: :get, params: %{}, service: :ovh, uri: "/cloud/project/#{service_name}/storage"} \
-MyApp.OvhClient.request!()
+service_name = "service_name"
+%ExOvh.Query{
+ headers: [],
+ method: :get,
+ params: %{},
+ service: :ovh,
+ uri: "/cloud/project/#{service_name}/storage"
+}
+|> MyApp.OvhClient.request!()
```
@@ -71,8 +71,8 @@ using *Method 1* as above. Pull requests for helper functions for other parts of
- `GET /cloud/project/{serviceName}/storage`
```
-ExOvh.Services.V1.Cloud.Cloudstorage.Query.get_containers(service_name) \
-|> ExOvh.request!()
+alias ExOvh.Services.V1.Cloud.Cloudstorage
+Cloudstorage.Query.get_containers(service_name) |> ExOvh.request!()
```
- For more information [See Hex Docs](https://hexdocs.pm/ex_ovh/0.2/api-reference.html)