lib/sportradar/api/content/article.rb in sportradar-api-0.11.3 vs lib/sportradar/api/content/article.rb in sportradar-api-0.11.4

- old
+ new

@@ -14,10 +14,10 @@ @byline = data["byline"] @dateline = data["dateline"] @credit = data["credit"] @content = data["content"]["long"] if data["content"] && data["content"]["long"] @provider = OpenStruct.new(data["provider"]) if data["provider"] - @references = parse_into_array(selector: response["refs"]["ref"], klass: Sportradar::Api::Content::Reference) if response["refs"] && response["refs"]["ref"] + @references = parse_into_array(selector: response["refs"], klass: Sportradar::Api::Content::Reference) if response["refs"] end def transaction? transaction == 'true' end