Sha256: 8d1c6d20e2fbf0e5a1e56c588fee43ba5b4479d60ded11460739d73d135d3bc0

Contents?: true

Size: 268 Bytes

Versions: 8

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module GraphqlDevise
  module MountMethod
    class OptionsValidator
      def initialize(validators = [])
        @validators = validators
      end

      def validate!
        @validators.each(&:validate!)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
graphql_devise-2.0.0 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.4.0 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.3.0 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.2.0 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.1.1 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.1.0 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.0.1 lib/graphql_devise/mount_method/options_validator.rb
graphql_devise-1.0.0 lib/graphql_devise/mount_method/options_validator.rb