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