Class: JSON::Schema::IP4Format

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?, validate, validation_error, validation_errors

Class Method Details

.ip_versionObject


30
31
32
# File 'lib/json-schema/attributes/formats/ip.rb', line 30

def self.ip_version
  4
end