Sha256: 93b3110f8ab72aae0efc2d82daff9043b696b7b99fb45232f0f81f319ef1fe59

Contents?: true

Size: 324 Bytes

Versions: 6

Compression:

Stored size: 324 Bytes

Contents

module {{namespace_module}}
  module Sessions
    module Destroy
      class Validator
        include Shogun::Validator
        include Sessions

        def initialize(data:)
          @verifiers = [
            Shogun::Verifier::Presence.new(data: data.id, name: "id")
          ]
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shogun-6.4.2 scaffold/new/project/lib/namespace/sessions/destroy/validator.rb
shogun-6.4.1 scaffold/new/project/lib/namespace/sessions/destroy/validator.rb
shogun-6.4.0 scaffold/new/project/lib/namespace/sessions/destroy/validator.rb
shogun-6.3.0 scaffold/new/project/lib/namespace/sessions/destroy/validator.rb
shogun-6.2.3 scaffold/new/project/lib/namespace/sessions/destroy/validator.rb
shogun-6.2.2 scaffold/new/project/lib/namespace/sessions/destroy/validator.rb