Sha256: ce21379fb664a4a97afa557683277f8bae7bb8cffc96f02c859e01903b50eac2

Contents?: true

Size: 277 Bytes

Versions: 40

Compression:

Stored size: 277 Bytes

Contents

class LHC::Response::Data::Collection < Array
  include LHC::Response::Data::Base

  def initialize(response, data: nil)
    @response = response
    @data = data

    super(
      as_json.map do |i|
        LHC::Response::Data.new(response, data: i)
      end
    )
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
lhc-10.1.2 lib/lhc/response/data/collection.rb
lhc-10.1.1 lib/lhc/response/data/collection.rb
lhc-10.1.0 lib/lhc/response/data/collection.rb
lhc-10.0.2 lib/lhc/response/data/collection.rb
lhc-9.4.4 lib/lhc/response/data/collection.rb
lhc-10.0.1 lib/lhc/response/data/collection.rb
lhc-10.0.0 lib/lhc/response/data/collection.rb
lhc-9.4.3 lib/lhc/response/data/collection.rb
lhc-9.4.2 lib/lhc/response/data/collection.rb
lhc-9.4.1 lib/lhc/response/data/collection.rb
lhc-9.4.0 lib/lhc/response/data/collection.rb
lhc-9.3.1 lib/lhc/response/data/collection.rb
lhc-9.3.0 lib/lhc/response/data/collection.rb
lhc-9.2.0 lib/lhc/response/data/collection.rb
lhc-9.1.2 lib/lhc/response/data/collection.rb
lhc-9.1.2.pre lib/lhc/response/data/collection.rb
lhc-9.1.1 lib/lhc/response/data/collection.rb
lhc-8.1.1 lib/lhc/response/data/collection.rb
lhc-9.1.0 lib/lhc/response/data/collection.rb
lhc-9.0.0 lib/lhc/response/data/collection.rb