Sha256: b3a4f577eabc214d9cc1082faf70568557e03fe45008094cf270f465c9bfe300

Contents?: true

Size: 228 Bytes

Versions: 9

Compression:

Stored size: 228 Bytes

Contents

# Base64

#### Rules

```ruby
# 1. Pattern
/^(?:[A-Za-z0-9+$]{4})*(?:[A-Za-z0-9+$]{2}==|[A-Za-z0-9+$]{3}=|[A-Za-z0-9+$]{4})$/
```

#### Usage

```ruby
class User < ActiveRecord::Base

  validates :input_0, base64: true

end
```

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lite-validators-1.1.0 docs/BASE64.md
lite-validators-1.0.7 docs/BASE64.md
lite-validators-1.0.6 docs/BASE64.md
lite-validators-1.0.5 docs/BASE64.md
lite-validators-1.0.4 docs/BASE64.md
lite-validators-1.0.3 docs/BASE64.md
lite-validators-1.0.2 docs/BASE64.md
lite-validators-1.0.1 docs/BASE64.md
lite-validators-1.0.0 docs/BASE64.md