lib/fletcher/models/gamecouk.rb in fletcher-0.5.1 vs lib/fletcher/models/gamecouk.rb in fletcher-0.5.2

- old
+ new

@@ -29,10 +29,10 @@ raw_price = doc.css("ul#variants ul.mint li.price").first_string Money.default_currency = Money::Currency.new("GBP") parse_price(raw_price.gsub(/Only /, "")) if raw_price # Get Image - self.images = [{:url => doc.xpath("//meta[@property='og:image']/@content").first_string}] + self.images = [{:src => doc.xpath("//meta[@property='og:image']/@content").first_string}] self.image = images.first end end end end \ No newline at end of file