Sha256: 0bad233cc5196b347a62b77b13c3fd04af417087d188f146680314c1093b460a

Contents?: true

Size: 278 Bytes

Versions: 7

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Validations
    class MultipleAttributesIterator < AttributesIterator
      private

      def yield_attributes(resource_params, _attrs)
        yield resource_params unless skip?(resource_params)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
grape-2.2.0 lib/grape/validations/multiple_attributes_iterator.rb
grape-2.1.3 lib/grape/validations/multiple_attributes_iterator.rb
grape-2.1.2 lib/grape/validations/multiple_attributes_iterator.rb
grape-2.1.1 lib/grape/validations/multiple_attributes_iterator.rb
grape-2.1.0 lib/grape/validations/multiple_attributes_iterator.rb
grape-2.0.0 lib/grape/validations/multiple_attributes_iterator.rb
grape-1.8.0 lib/grape/validations/multiple_attributes_iterator.rb