Class: Oscal::ResponsibleParty
- Defined in:
- lib/oscal/responsible_party.rb
Constant Summary collapse
- KEY =
i(role_id party_uuids props links remakrs)
Instance Method Summary collapse
Methods inherited from BaseClass
Methods included from Serializer
included, #to_h, #to_json, #to_xml, #to_yaml
Constructor Details
This class inherits a constructor from Oscal::BaseClass
Instance Method Details
#set_value(key_name, val) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/oscal/responsible_party.rb', line 11 def set_value(key_name, val) case key_name when "party_uuids" PartyUuid.wrap(val) when "props" Property.wrap(val) when "links" Link.wrap(val) else val end end |