We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1019a6a commit f1c9472Copy full SHA for f1c9472
CHANGELOG
@@ -1,2 +1,5 @@
1
+v1.3.23
2
+ - remove ruby 1.9 hash syntax
3
+
4
v1.3.22
5
- Upgrade Faraday to 0.9
lib/spark_api/models/saved_search.rb
@@ -69,7 +69,7 @@ def listings(args = {})
69
70
def newsfeeds
71
if @newsfeeds.nil?
72
- response = SparkApi.client.get("/savedsearches/#{@attributes["Id"]}", _expand: "NewsFeeds").first["NewsFeeds"]
+ response = SparkApi.client.get("/savedsearches/#{@attributes["Id"]}", :_expand => "NewsFeeds").first["NewsFeeds"]
73
# the response from the api is just a bunch of hashes, but we can turn them into Newsfeed instances
74
@newsfeeds = response.map { |hash| Newsfeed.new(hash) }
75
end
0 commit comments