Method: AEMO::NMI::Allocation.all
- Defined in:
- lib/aemo/nmi/allocation.rb
permalink .all ⇒ Array<AEMO::NMI::Allocation>
Return all the NMI allocations
399 400 401 402 403 |
# File 'lib/aemo/nmi/allocation.rb', line 399 def all ALLOCATIONS.map do |a| new(a.fetch(:title), a.fetch(:type), a) end end |