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.
647 |
# File 'sig/jsonschema.rbs', line 647
def initialize: (
|
Instance Method Details
#allow_display_text ⇒ Boolean
Whether display text is allowed.
661 |
# File 'sig/jsonschema.rbs', line 661
def allow_display_text: () -> bool
|
#allow_domain_literal ⇒ Boolean
Whether domain literals are allowed.
658 |
# File 'sig/jsonschema.rbs', line 658
def allow_domain_literal: () -> bool
|
#inspect ⇒ String
666 |
# File 'sig/jsonschema.rbs', line 666
def inspect: () -> String
|
#minimum_sub_domains ⇒ Integer?
Minimum number of subdomains.
664 |
# File 'sig/jsonschema.rbs', line 664
def minimum_sub_domains: () -> Integer?
|
#require_tld ⇒ Boolean
Whether TLD is required.
655 |
# File 'sig/jsonschema.rbs', line 655
def require_tld: () -> bool
|
#to_s ⇒ String
667 |
# File 'sig/jsonschema.rbs', line 667
def to_s: () -> String
|