Class: DmtdVbmappData::ProtocolAreaSkill
- Inherits:
-
Object
- Object
- DmtdVbmappData::ProtocolAreaSkill
- Defined in:
- lib/dmtd_vbmapp_data/protocol_area_skill.rb
Overview
Provides for the retrieving of VB-MAPP Area Question Skill on the VB-MAPP Data Server.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#skill ⇒ Object
readonly
Returns the value of attribute skill.
-
#supporting ⇒ Object
readonly
Returns the value of attribute supporting.
Instance Method Summary collapse
-
#initialize(opts) ⇒ ProtocolAreaSkill
constructor
Creates an accessor for the VB-MAPP Area Question Skill on the VB-MAPP Data Server.
Constructor Details
#initialize(opts) ⇒ ProtocolAreaSkill
Note:
This method does not block, simply creates an accessor and returns
Creates an accessor for the VB-MAPP Area Question Skill on the VB-MAPP Data Server
26 27 28 29 30 31 32 |
# File 'lib/dmtd_vbmapp_data/protocol_area_skill.rb', line 26 def initialize(opts) question_json = opts.fetch(:question_json) @id = question_json[:id] @supporting = question_json[:supporting] @skill = question_json[:skill] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
10 11 12 |
# File 'lib/dmtd_vbmapp_data/protocol_area_skill.rb', line 10 def id @id end |
#skill ⇒ Object (readonly)
Returns the value of attribute skill.
18 19 20 |
# File 'lib/dmtd_vbmapp_data/protocol_area_skill.rb', line 18 def skill @skill end |
#supporting ⇒ Object (readonly)
Returns the value of attribute supporting.
14 15 16 |
# File 'lib/dmtd_vbmapp_data/protocol_area_skill.rb', line 14 def supporting @supporting end |