Module: Identified::HighGroupData
- Defined in:
- lib/identified/ssn/high_group_data.rb
Overview
The module that provides access to set of all high group data available.
Class Method Summary collapse
- .all ⇒ Object
-
.latest_applicable_list(date_issued) ⇒ Object
Fetch the earliest dated list that is on or later than the issuance date.
Class Method Details
.all ⇒ Object
4 5 6 |
# File 'lib/identified/ssn/high_group_data.rb', line 4 def self.all data end |
.latest_applicable_list(date_issued) ⇒ Object
Fetch the earliest dated list that is on or later than the issuance date.
9 10 11 |
# File 'lib/identified/ssn/high_group_data.rb', line 9 def self.latest_applicable_list(date_issued) data.detect { |list| date_issued <= list.date_effective } end |