my_api_client 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/generators/rails/templates/api_client.rb.erb +2 -2
- data/lib/my_api_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f305b81334983672009997109d972f76e2b71eed24ad11d99e4ea32db137408
|
4
|
+
data.tar.gz: 5d1a7e5b66e151e663dc8e2e16736cddf09c3f7abb1cae9b1f228a33c0258c60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ee89995bd4e9b66da690063139c5b6b872493bd4ad552902b6122d42d48723fd01adb49b6a4b6631266fc01ecb46d0ef0087b623c9286445a9be58fec19faf5
|
7
|
+
data.tar.gz: 3eb42627ec377f68ea997ce37ab34400a769486a2070a646540745e1cbd4d9aa341bcf4f0c6b5219460bccd3fee61f3cb6eca15d52b0d4ab66f96986826647e4
|
data/Gemfile.lock
CHANGED
@@ -20,10 +20,10 @@ class <%= "#{class_name}ApiClient" %> < ::ApplicationApiClient
|
|
20
20
|
def <%= action %>
|
21
21
|
<% if http_method == 'get' -%>
|
22
22
|
query = {}
|
23
|
-
<%= http_method %> '<%=
|
23
|
+
<%= http_method %> '<%= pathname %>', query: query, headers: headers
|
24
24
|
<% else -%>
|
25
25
|
body = {}
|
26
|
-
<%= http_method %> '<%=
|
26
|
+
<%= http_method %> '<%= pathname %>', body: body, headers: headers
|
27
27
|
<% end -%>
|
28
28
|
end
|
29
29
|
<% end -%>
|