Sha256: a873403d5564a00e63debedb94dc96d66f4b40868754bf36519257611f9f00fd

Contents?: true

Size: 318 Bytes

Versions: 55

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module EacRest
  class Entity
    enable_simple_cache
    common_constructor :api, :data

    class << self
      def from_array_data(api, array_data, *args)
        array_data.map { |item_data| new(api, item_data, *args) }
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 3 rubygems

Version Path
eac_rest-0.7.3 lib/eac_rest/entity.rb
eac_rest-0.7.2 lib/eac_rest/entity.rb
eac_rest-0.7.1 lib/eac_rest/entity.rb
eac_rest-0.7.0 lib/eac_rest/entity.rb
avm-tools-0.129.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.16.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
avm-tools-0.128.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.15.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.14.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.13.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
avm-tools-0.127.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.12.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
avm-tools-0.126.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.11.1 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
avm-tools-0.125.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.11.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
avm-tools-0.124.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.10.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb
avm-tools-0.123.0 sub/eac_rest/lib/eac_rest/entity.rb
eac_tools-0.9.0 sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb