Class: Reve::Classes::CertificateRequiredSkill

Inherits:
Object
  • Object
show all
Defined in:
lib/reve/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ CertificateRequiredSkill

Returns a new instance of CertificateRequiredSkill.



563
564
565
566
# File 'lib/reve/classes.rb', line 563

def initialize(elem)
  @id = elem["typeID"].to_i
  @level = elem["level"].to_i
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



562
563
564
# File 'lib/reve/classes.rb', line 562

def id
  @id
end

#levelObject (readonly)

Returns the value of attribute level.



562
563
564
# File 'lib/reve/classes.rb', line 562

def level
  @level
end