Sha256: 04f8d628697ef2618f1f7d452944627960c528a012147bfcaa416ef2fcc5117a
Contents?: true
Size: 441 Bytes
Versions: 3
Compression:
Stored size: 441 Bytes
Contents
module QuakeliveApi class Profile module Awards class Base < ::QuakeliveApi::Base attr_accessor :earned, :unearned private def page raise NotImplementedError end def url "/profile/awards/#{player_name}/#{page}" end def setup_variables @earned = parser.earned @unearned = parser.unearned end 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/awards/base.rb |
quakelive_api-0.1.1 | lib/quakelive_api/profile/awards/base.rb |
quakelive_api-0.1.0 | lib/quakelive_api/profile/awards/base.rb |