inventos_streak 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inventos_streak.rb +2 -0
- data/lib/inventos_streak/field.rb +1 -1
- data/lib/inventos_streak/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: 20a5e119409274635e81f66a1b884ce99c16d65e
|
4
|
+
data.tar.gz: ebc2d6f1ba82265b65758d1487adc3724ad9fc88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36a1c3ac620941017a9ea2ea8adc6df453cc84856132394c993d7be32f013039f88691baf66ff0b9e76533267b3792dfe83406b73a950ca7e816550722dd55a2
|
7
|
+
data.tar.gz: 4e69e4c487c4c6e067b54d345e18c483d1df794a1c4a41d530ed182470871140c95d296358847a79d40643d38bc07900f66612caafae20ca5a984c5b3015bab9
|
data/lib/inventos_streak.rb
CHANGED
@@ -32,6 +32,8 @@ module InventosStreak
|
|
32
32
|
end
|
33
33
|
|
34
34
|
define_method "#{attr}_json" do |path, body|
|
35
|
+
url = "#{base_url}/#{path}"
|
36
|
+
puts "#{attr} #{url}"
|
35
37
|
HTTParty.send attr, "#{base_url}/#{path}", basic_auth: configuration.basic_auth, body: body.to_json, headers: { 'Content-Type' => 'application/json' }
|
36
38
|
end
|
37
39
|
end
|