Sha256: 6a0a8576a64b7c26d5ee3af685db659457a000c8af33e270a9209bb5b2917597

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

module QuakeliveApi
  class Profile
    class Statistics < ::QuakeliveApi::Base
      attr_reader :weapons, :records

      private

      def url
        "/profile/statistics/#{player_name}"
      end

      def setup_variables
        @weapons = parser.weapons
        @records = parser.records
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quakelive_api-0.1.2 lib/quakelive_api/profile/statistics.rb
quakelive_api-0.1.1 lib/quakelive_api/profile/statistics.rb
quakelive_api-0.1.0 lib/quakelive_api/profile/statistics.rb