avdgaag/bol

Get offers

Closed this issue · 2 comments

I am not sure if it's already built in, but is there a way to get prices of products?

I thought you could just do product.price, but apparently I've never gotten around to implementing it. As of 1f709d9 you can get offers:

product = Bol.top_products.first
product.offers # => [...]
product.offers.first.price # => 17.99

Awesome! Thanks!