class ChgkRating::Collections::Players

Private Instance Methods

api_path() click to toggle source
# File lib/chgk_rating/collections/players.rb, line 12
def api_path
  'players'
end
process(_results, params = {}) click to toggle source
Calls superclass method ChgkRating::Collections::Base#process
# File lib/chgk_rating/collections/players.rb, line 8
def process(_results, params = {})
  super { |result| ChgkRating::Models::Player.new result, lazy: params[:lazy] }
end