class Clashinator::Achievement
This class represents the achievement model through the player model
Attributes
completion_info[RW]
info[RW]
name[RW]
stars[RW]
target[RW]
value[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/clashinator/achievement.rb, line 7 def initialize(attributes) @name = attributes['name'] @stars = attributes['stars'] @value = attributes['value'] @target = attributes['target'] @info = attributes['info'] @completion_info = attributes['completion_info'] end