sraas 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sraas/consumer.rb +2 -2
- data/lib/sraas/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: 7d02773f5dd65d5723e444724def74c947e2ad5a
|
|
4
|
+
data.tar.gz: '091f64813b9be2a2fea790024463c33f81da589f'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bb33ca625e067b239156da13fe3c6f990aad186db75e723713c758168d74cc47516c0f55838ba49c2e3b014a62ee47309a2b19e62a1e5813d67b9497c8f07b9
|
|
7
|
+
data.tar.gz: e898a1ff817608869bd4959066963939a8b58f6a01b595371b0776dd95bca84c6bb798a76797839ba80b0c19ee86236796635e4c4dbb9863d27bb0864f0a4819
|
data/lib/sraas/consumer.rb
CHANGED
|
@@ -104,8 +104,8 @@ module Sraas
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
def report(correct_ids, incorrect_ids)
|
|
107
|
-
|
|
108
|
-
parse_json {
|
|
107
|
+
payload = {correct: correct_ids, incorrect: incorrect_ids}
|
|
108
|
+
parse_json { Sraas.api_resource(:post, "#{consumer_url}/report", payload) }
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
# template_deck accessor. specified by consumer
|
data/lib/sraas/version.rb
CHANGED