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.



544
545
546
547
# File 'lib/reve/classes.rb', line 544

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.



543
544
545
# File 'lib/reve/classes.rb', line 543

def id
  @id
end

#levelObject (readonly)

Returns the value of attribute level.



543
544
545
# File 'lib/reve/classes.rb', line 543

def level
  @level
end