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