lib/quakelive_api/profile/awards/base.rb in quakelive_api-0.0.1 vs lib/quakelive_api/profile/awards/base.rb in quakelive_api-0.1.0

- old
+ new

@@ -4,21 +4,21 @@ class Base < ::QuakeliveApi::Base attr_accessor :earned, :unearned private - def page - raise NotImplementedError - end + def page + raise NotImplementedError + end - def url - "/profile/awards/#{player_name}/#{page}" - end + def url + "/profile/awards/#{player_name}/#{page}" + end - def setup_variables - @earned = parser.earned - @unearned = parser.unearned - end + def setup_variables + @earned = parser.earned + @unearned = parser.unearned + end end end end end