bundl_instagram_api 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bundl_instagram_api/client/insights.rb +1 -1
- data/lib/bundl_instagram_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d12399fcd29530db247862052fbcf8f154c2d4bb452dec671b470d874f1bca1
|
4
|
+
data.tar.gz: 939a106f68965b453d11a3ada50789a1182cfcb2223630349ea04ff145e527bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 648dcd7920df5fda06574acaa2bf6721ba0eb690d632cf64b503cad684820ad707af666758521c8b245b64466275576a44198d64f379e9799f63ee243388cbe5
|
7
|
+
data.tar.gz: ba48f2f0adbfa5df827b4aae5675e0db10f809e5db5724084d37a8ba97651dd5aea703d5a7ebb6b7bf756527ec1936487db562b9bd59d21bfd04a5bba1bf4113
|
@@ -18,7 +18,7 @@ module BundlInstagramApi
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def user_insights(object_id, metrics: nil, period:nil, since:nil, until:nil)
|
21
|
-
@raw_insights = get_connections(object_id, "insights?metric=#{metrics}&period=#{period}")
|
21
|
+
@raw_insights = get_connections(object_id, "insights?metric=#{metrics}&period=#{period}&since=#{since}&until=#{until}")
|
22
22
|
@raw_insights.reduce({}) do |result, insight_data|
|
23
23
|
result[insight_data["name"]] = insight_data["values"].first["value"]
|
24
24
|
result
|