Sha256: cfbc21d45f57a5b36e729b97f643cbb110c3bf8d09f7eca156111406ce6aedc4

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module Restorm
  class Collection < ::Array

    attr_reader :metadata, :errors

    # @private
    def initialize(items = [], metadata = {}, errors = {})
      super(items)
      @metadata = metadata
      @errors = errors
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restorm-1.0.0 lib/restorm/collection.rb