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.
367 |
# File 'sig/jsonschema.rbs', line 367
def initialize: (
|
Instance Method Details
#allow_display_text ⇒ Boolean
Whether display text is allowed.
381 |
# File 'sig/jsonschema.rbs', line 381
def allow_display_text: () -> bool
|
#allow_domain_literal ⇒ Boolean
Whether domain literals are allowed.
378 |
# File 'sig/jsonschema.rbs', line 378
def allow_domain_literal: () -> bool
|
#inspect ⇒ String
386 |
# File 'sig/jsonschema.rbs', line 386
def inspect: () -> String
|
#minimum_sub_domains ⇒ Integer?
Minimum number of subdomains.
384 |
# File 'sig/jsonschema.rbs', line 384
def minimum_sub_domains: () -> Integer?
|
#require_tld ⇒ Boolean
Whether TLD is required.
375 |
# File 'sig/jsonschema.rbs', line 375
def require_tld: () -> bool
|
#to_s ⇒ String
387 |
# File 'sig/jsonschema.rbs', line 387
def to_s: () -> String
|