Sha256: f33c28ccbc9909a2c970e94188eff3af084748e485e2b3612e58b045576b5e44

Contents?: true

Size: 238 Bytes

Versions: 38

Compression:

Stored size: 238 Bytes

Contents

module Her
  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

38 entries across 38 versions & 2 rubygems

Version Path
test_track_rails_client-7.1.2 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-7.1.1 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-7.0.0 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-6.0.0 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-5.0.1 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-5.0.0 vendor/gems/her/lib/her/collection.rb
her-1.1.1 lib/her/collection.rb
test_track_rails_client-4.0.2 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.1 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.rc3 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.rc2 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha35 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha34 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha33 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha32 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha31 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha30 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha29 vendor/gems/her/lib/her/collection.rb
test_track_rails_client-4.0.0.alpha28 vendor/gems/her/lib/her/collection.rb