lib/chgk_rating/collections/players.rb in chgk_rating-1.0.0.rc1 vs lib/chgk_rating/collections/players.rb in chgk_rating-1.0.0

- old
+ new

@@ -1,17 +1,17 @@ -module ChgkRating - module Collections - class Players < Base - include ChgkRating::Concerns::Searching - - private - - def process(_results, params = {}) - super { |result| ChgkRating::Models::Player.new result, lazy: params[:lazy] } - end - - def api_path - 'players' - end - end - end +module ChgkRating + module Collections + class Players < Base + include ChgkRating::Concerns::Searching + + private + + def process(_results, params = {}) + super { |result| ChgkRating::Models::Player.new result, lazy: params[:lazy] } + end + + def api_path + 'players' + end + end + end end \ No newline at end of file