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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f4373345f210df17764c1c488ee947a74ac8c9c71bdd9d6f19c37698cf3f0e1
4
- data.tar.gz: 6b450535adc886337e9174e203c69325b8459e5c60283eb079fa83a86db8b354
3
+ metadata.gz: 2f305b81334983672009997109d972f76e2b71eed24ad11d99e4ea32db137408
4
+ data.tar.gz: 5d1a7e5b66e151e663dc8e2e16736cddf09c3f7abb1cae9b1f228a33c0258c60
5
5
  SHA512:
6
- metadata.gz: 505dea4704249d49c6dd967bd8f12aa9e166cef4ec05d3def5423a9956df974d48aa1093e32d9bfafb2b9205b94b0d017aacb82d305a858f9e3170600106c0d8
7
- data.tar.gz: 1ae1c60bdb80521dca0a38726e911738f77c7ef7391d025f778a5ca11d3ecd1e4abaf50f4ec5853328662a8fcd8aba24812f7ae86376c3818d1db06945d89fe6
6
+ metadata.gz: 5ee89995bd4e9b66da690063139c5b6b872493bd4ad552902b6122d42d48723fd01adb49b6a4b6631266fc01ecb46d0ef0087b623c9286445a9be58fec19faf5
7
+ data.tar.gz: 3eb42627ec377f68ea997ce37ab34400a769486a2070a646540745e1cbd4d9aa341bcf4f0c6b5219460bccd3fee61f3cb6eca15d52b0d4ab66f96986826647e4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_api_client (0.1.2)
4
+ my_api_client (0.1.3)
5
5
  activesupport (>= 4.2.0)
6
6
  jsonpath
7
7
  sawyer
@@ -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 %> '<%= path %>', query: query, headers: headers
23
+ <%= http_method %> '<%= pathname %>', query: query, headers: headers
24
24
  <% else -%>
25
25
  body = {}
26
- <%= http_method %> '<%= path %>', body: body, headers: headers
26
+ <%= http_method %> '<%= pathname %>', body: body, headers: headers
27
27
  <% end -%>
28
28
  end
29
29
  <% end -%>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MyApiClient
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryz310