class DmtdVbmappData::ProtocolAreaSkill
Provides for the retrieving of VB-MAPP Area Question Skill on the VB-MAPP Data Server.
Attributes
id[R]
@!attribute [r] id
@return [Symbol] the Skill Id
skill[R]
@!attribute [r] skill
@return [String] the description of the skill
supporting[R]
@!attribute [r] supporting
@return [Bool] whether the skill is a supporting skill
Public Class Methods
new(opts)
click to toggle source
Creates an accessor for the VB-MAPP Area Question Skill on the VB-MAPP Data Server
@note This method does not block, simply creates an accessor and returns
@option opts [Hash] :question_json The vbmapp question json for the question in the format described at
{https://datamtd.atlassian.net/wiki/pages/viewpage.action?pageId=18710549 /1/protocol/area_question - GET REST api - Fields}
# 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