lib/itch/game.rb in itch_client-0.3.0 vs lib/itch/game.rb in itch_client-0.4.0
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
+require_relative "reviews"
require_relative "rewards"
require_relative "reward"
require_relative "require_auth"
require_relative "simple_inspect"
@@ -44,9 +45,13 @@
self.theme = new_theme
end
def rewards
Rewards.new(@agent, @id)
+ end
+
+ def reviews
+ Reviews.new(@agent, @id)
end
def reward(id)
rewards.find { |reward| reward.id == id }
end