Sha256: 7af812b7fb52fd18030c1743b5593f52db9dd17d863133e253ae970be3ff9849

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

module RateCenter
  class Lata < OpenStruct
    extend Collection

    class << self
      private

      def data
        ::RateCenter.data_loader.lata
      end

      def load_collection
        data.map { |data| new(**data) }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rate_center-0.3.1 lib/rate_center/lata.rb
rate_center-0.3.0 lib/rate_center/lata.rb