README.md in itch_client-0.2.0 vs README.md in itch_client-0.3.0
- old
+ new
@@ -250,9 +250,26 @@
filtered_rewards = rewards.select do |reward|
reward.amount > 5
end
client.game(12345).rewards.save(filtered_rewards)
```
+### Bundles
+
+Fetch current bundles
+
+```ruby
+client.bundles.list
+
+#=>
+[
+ #<Itch::Bundle:0x0000557aa98c7930
+ @id="123",
+ @earnings=BigDecimal(123.00),
+ @price=BigDecimal(10.00),
+ @purchases=10,
+ @title="My Bundle!"
+]
+```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.