http-client-generator 0.1.21 → 0.1.22
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: 6c3b44fece935615e25d9474e750f49ee0954d9b1f0ce81c33f2e51bdc19519c
|
4
|
+
data.tar.gz: 7bcb19907b811dae72905ec5d70b9bc58f2733a666b2a1433a40746de32c49f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c62e8b8a284ab5aeb1d169c2758b85f5dda580ede7015153269c20eed7c61b3bf49428b68fce2fc8c09290e9542ccd9579dd09d45011994058f123753393103f
|
7
|
+
data.tar.gz: 483313ab88299445c0e888f46711a2fc2f336adfb5bc7f052e73e23edd811ced1e149aa56a584d94c7c6edad1f3a5e1b7d533bba29b9727276a620e30e2aa62a
|
@@ -32,7 +32,7 @@ module HttpClientGenerator
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def namespace(_name, &block)
|
35
|
-
namespaced_definition = ResourcesDefinition.new(@base, @req_plugs, @resp_plugs)
|
35
|
+
namespaced_definition = ResourcesDefinition.new(@base, @req_plugs.dup, @resp_plugs.dup)
|
36
36
|
namespaced_definition.instance_eval(&block)
|
37
37
|
@resources += namespaced_definition.resources
|
38
38
|
end
|