Class: Nis::Struct::MosaicDefinitionMetaDataPair
- Inherits:
-
Object
- Object
- Nis::Struct::MosaicDefinitionMetaDataPair
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/mosaic_definition_meta_data_pair.rb
Overview
Instance Attribute Summary collapse
-
#meta ⇒ Nis::Struct::MosaicMetaData
The current value of meta.
-
#mosaic ⇒ Nis::Struct::Mosaic
The current value of mosaic.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#meta ⇒ Nis::Struct::MosaicMetaData
Returns the current value of meta.
5 6 7 |
# File 'lib/nis/struct/mosaic_definition_meta_data_pair.rb', line 5 def @meta end |
#mosaic ⇒ Nis::Struct::Mosaic
Returns the current value of mosaic.
5 6 7 |
# File 'lib/nis/struct/mosaic_definition_meta_data_pair.rb', line 5 def mosaic @mosaic end |
Class Method Details
.build(attrs) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/nis/struct/mosaic_definition_meta_data_pair.rb', line 9 def self.build(attrs) new( meta: MosaicDefinitionMetaData.build(attrs[:meta]), mosaic: MosaicDefinition.build(attrs[:mosaic]) ) end |