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.



608
609
610
611
# File 'lib/reve/classes.rb', line 608

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.



607
608
609
# File 'lib/reve/classes.rb', line 607

def id
  @id
end

#levelObject (readonly)

Returns the value of attribute level.



607
608
609
# File 'lib/reve/classes.rb', line 607

def level
  @level
end