Sha256: f50618497fc86dd422c231fac65addaaa2b8a258e92b41a1bbcd3d9c00518d8e

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 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

1 entries across 1 versions & 1 rubygems

Version Path
quakelive_api-0.0.1 lib/quakelive_api/profile/statistics.rb