Class: JSON::Schema::IP6Format

Inherits:
IPFormat show all
Defined in:
lib/json-schema/attributes/formats/ip.rb

Constant Summary

Constants inherited from Attribute

Attribute::TYPE_CLASS_MAPPINGS

Class Method Summary collapse

Methods inherited from IPFormat

validate

Methods inherited from FormatAttribute

validate

Methods inherited from Attribute

build_fragment, data_valid_for_type?, type_of_data, validate, validation_error, validation_errors

Class Method Details

.ip_versionObject



36
37
38
# File 'lib/json-schema/attributes/formats/ip.rb', line 36

def self.ip_version
  6
end