Class: Nis::Struct::AuditCollection
- Inherits:
-
Object
- Object
- Nis::Struct::AuditCollection
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/audit_collection.rb
Overview
Instance Attribute Summary collapse
-
#mostRecent ⇒ Array
(also: #most_recent)
The current value of mostRecent.
-
#outstanding ⇒ Array
The current value of outstanding.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#mostRecent ⇒ Array Also known as: most_recent
Returns the current value of mostRecent.
5 6 7 |
# File 'lib/nis/struct/audit_collection.rb', line 5 def mostRecent @mostRecent end |
#outstanding ⇒ Array
Returns the current value of outstanding.
5 6 7 |
# File 'lib/nis/struct/audit_collection.rb', line 5 def outstanding @outstanding end |
Class Method Details
.build(outstanding:, most_recent:) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/nis/struct/audit_collection.rb', line 12 def self.build(outstanding:, most_recent:) new( outstanding: outstanding.map { |audt| Nis::Struct::AuditInfo.build(audt) }, mostRecent: most_recent.map { |audt| Nis::Struct::AuditInfo.build(audt) } ) end |