Class: GameRocket::AchievementTemplate
- Inherits:
-
Object
- Object
- GameRocket::AchievementTemplate
- Includes:
- BaseModule
- Defined in:
- lib/gamerocket/achievement_template.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#dynProp ⇒ Object
Returns the value of attribute dynProp.
-
#goal ⇒ Object
Returns the value of attribute goal.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image ⇒ Object
Returns the value of attribute image.
-
#name ⇒ Object
Returns the value of attribute name.
-
#points ⇒ Object
Returns the value of attribute points.
-
#ref ⇒ Object
Returns the value of attribute ref.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ AchievementTemplate
constructor
A new instance of AchievementTemplate.
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(attributes) ⇒ AchievementTemplate
Returns a new instance of AchievementTemplate.
7 8 9 |
# File 'lib/gamerocket/achievement_template.rb', line 7 def initialize(attributes) set_instance_variables_from_hash(attributes) end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def description @description end |
#dynProp ⇒ Object
Returns the value of attribute dynProp.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def dynProp @dynProp end |
#goal ⇒ Object
Returns the value of attribute goal.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def goal @goal end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def id @id end |
#image ⇒ Object
Returns the value of attribute image.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def image @image end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def name @name end |
#points ⇒ Object
Returns the value of attribute points.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def points @points end |
#ref ⇒ Object
Returns the value of attribute ref.
5 6 7 |
# File 'lib/gamerocket/achievement_template.rb', line 5 def ref @ref end |
Class Method Details
._new(*args) ⇒ Object
11 12 13 |
# File 'lib/gamerocket/achievement_template.rb', line 11 def self._new(*args) self.new *args end |