class QuakeliveApi::Profile::Awards::Base

Attributes

earned[RW]
unearned[RW]

Private Instance Methods

page() click to toggle source
# File lib/quakelive_api/profile/awards/base.rb, line 9
def page
  raise NotImplementedError
end
setup_variables() click to toggle source
# File lib/quakelive_api/profile/awards/base.rb, line 17
def setup_variables
  @earned   = parser.earned
  @unearned = parser.unearned
end
url() click to toggle source
# File lib/quakelive_api/profile/awards/base.rb, line 13
def url
  "/profile/awards/#{player_name}/#{page}"
end