Sha256: 754b78041da8f2febb6de9c33198bca3e3c60a2aa5ee4c3d95bcaef7bb65babd

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chgk_rating-1.0.0.rc1 lib/chgk_rating/collections/players.rb