Class: JSONSchema::EmailOptions
- Inherits:
-
Object
- Object
- JSONSchema::EmailOptions
- Defined in:
- sig/jsonschema.rbs
Overview
Email format validation options.
Instance Method Summary collapse
-
#allow_display_text ⇒ Boolean
Whether display text is allowed.
-
#allow_domain_literal ⇒ Boolean
Whether domain literals are allowed.
-
#initialize ⇒ Object
constructor
Create email validation options.
- #inspect ⇒ String
-
#minimum_sub_domains ⇒ Integer?
Minimum number of subdomains.
-
#require_tld ⇒ Boolean
Whether TLD is required.
- #to_s ⇒ String
Constructor Details
#initialize ⇒ Object
Create email validation options.
522 |
# File 'sig/jsonschema.rbs', line 522
def initialize: (
|
Instance Method Details
#allow_display_text ⇒ Boolean
Whether display text is allowed.
536 |
# File 'sig/jsonschema.rbs', line 536
def allow_display_text: () -> bool
|
#allow_domain_literal ⇒ Boolean
Whether domain literals are allowed.
533 |
# File 'sig/jsonschema.rbs', line 533
def allow_domain_literal: () -> bool
|
#inspect ⇒ String
541 |
# File 'sig/jsonschema.rbs', line 541
def inspect: () -> String
|
#minimum_sub_domains ⇒ Integer?
Minimum number of subdomains.
539 |
# File 'sig/jsonschema.rbs', line 539
def minimum_sub_domains: () -> Integer?
|
#require_tld ⇒ Boolean
Whether TLD is required.
530 |
# File 'sig/jsonschema.rbs', line 530
def require_tld: () -> bool
|
#to_s ⇒ String
542 |
# File 'sig/jsonschema.rbs', line 542
def to_s: () -> String
|