class Clashinator::Army

This class represents the army model through the player model

Attributes

level[RW]
max_level[RW]
name[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/clashinator/army.rb, line 7
def initialize(attributes)
  @name = attributes['name']
  @level = attributes['level']
  @max_level = attributes['maxLevel']
end