safettp 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/safettp/client.rb +1 -1
- data/lib/safettp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b911d2389ff05c9d950304fda9e891d95c93f7
|
4
|
+
data.tar.gz: df6ed7d52265889ee084eac7e418afd5e262c1ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32e69bb00b3cdaa33f58dcdd54a67de19419b9dbec5999e034266932e5808192a1f9ae445f5ac9dcec17de2c9e5bc7c6037d2684e08406e3f450b30bbf02e927
|
7
|
+
data.tar.gz: daf81fba6cd444576cd37441ae92cabc26a5050bb7e3121009a0533560cc7671eca6143faa53a4266a522da1d9b7e016f434c88e09f21706c3428b85699eedb6
|
data/lib/safettp/client.rb
CHANGED
@@ -46,7 +46,7 @@ module Safettp::Client
|
|
46
46
|
base.extend(ClassMethods)
|
47
47
|
|
48
48
|
%i[get post put patch delete].each do |method|
|
49
|
-
define_method(method) do |uri_suffix, options, &block|
|
49
|
+
define_method(method) do |uri_suffix, options = {}, &block|
|
50
50
|
perform(method, uri_suffix, options, &block)
|
51
51
|
end
|
52
52
|
end
|
data/lib/safettp/version.rb
CHANGED