Sha256: 4f5663f13d544c5f6e4528384def25e0e1a9b933bfecd4b4862b2cae950ead6d

Contents?: true

Size: 370 Bytes

Versions: 8

Compression:

Stored size: 370 Bytes

Contents

module Foobara
  module BuiltinTypes
    module Entity
      module Validators
        class AttributesDeclaration < DetachedEntity::Validators::AttributesDeclaration
          def applicable?(record)
            record.created? || record.built?
          end

          def expected_type_symbol
            :entity
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foobara-0.0.38 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.37 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.36 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.35 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.34 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.33 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.32 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
foobara-0.0.31 projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb