my_api_client 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f4373345f210df17764c1c488ee947a74ac8c9c71bdd9d6f19c37698cf3f0e1
|
4
|
+
data.tar.gz: 6b450535adc886337e9174e203c69325b8459e5c60283eb079fa83a86db8b354
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 505dea4704249d49c6dd967bd8f12aa9e166cef4ec05d3def5423a9956df974d48aa1093e32d9bfafb2b9205b94b0d017aacb82d305a858f9e3170600106c0d8
|
7
|
+
data.tar.gz: 1ae1c60bdb80521dca0a38726e911738f77c7ef7391d025f778a5ca11d3ecd1e4abaf50f4ec5853328662a8fcd8aba24812f7ae86376c3818d1db06945d89fe6
|
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ class <%= "#{class_name}ApiClient" %> < ::ApplicationApiClient
|
|
11
11
|
end
|
12
12
|
|
13
13
|
<% requests.each do |request| -%>
|
14
|
-
<% action, http_method, pathname = request.
|
14
|
+
<% action, http_method, pathname = request.split(':') -%>
|
15
15
|
# <%= "#{http_method.upcase} #{endpoint}/#{pathname}" %>
|
16
16
|
#
|
17
17
|
# @return [Sawyer::Resource] Description of the API response
|
@@ -6,7 +6,7 @@ RSpec.describe <%= "#{class_name}ApiClient" %>, <%= type_metatag(:api_client) %>
|
|
6
6
|
let(:api_client) { described_class.new }
|
7
7
|
|
8
8
|
<% requests.each do |request| -%>
|
9
|
-
<% action, http_method, pathname = request.
|
9
|
+
<% action, http_method, pathname = request.split(':') -%>
|
10
10
|
describe '#<%= action %>' do
|
11
11
|
end
|
12
12
|
<% end -%>
|