Class: Reve::Classes::CertificateRequiredSkill
- Defined in:
- lib/reve/classes.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize(elem) ⇒ CertificateRequiredSkill
constructor
A new instance of CertificateRequiredSkill.
Constructor Details
#initialize(elem) ⇒ CertificateRequiredSkill
Returns a new instance of CertificateRequiredSkill.
519 520 521 522 |
# File 'lib/reve/classes.rb', line 519 def initialize(elem) @id = elem["typeID"].to_i @level = elem["level"].to_i end |