Class: Bluepine::Attributes::IPAddressAttribute
- Inherits:
-
StringAttribute
- Object
- Attribute
- StringAttribute
- Bluepine::Attributes::IPAddressAttribute
- Defined in:
- lib/bluepine/attributes/ip_address_attribute.rb
Constant Summary
Constants inherited from StringAttribute
Constants included from Bluepine::Assertions
Bluepine::Assertions::Error, Bluepine::Assertions::KeyError, Bluepine::Assertions::SubsetError
Instance Attribute Summary
Attributes inherited from Attribute
Instance Method Summary collapse
Methods inherited from StringAttribute
Methods inherited from Attribute
#attributes, #default, #deprecated, #description, #format, #if, #in, #initialize, #match, #method, #native_type, #null, #of, #options, #private, #required, #serializable?, #type, #unless, #value
Methods included from Validators::Validatable
Methods included from Validators::Normalizable
Methods included from Serializers::Serializable
Methods included from Bluepine::Assertions
#assert, #assert_in, #assert_kind_of, #assert_not, #assert_subset_of, included
Constructor Details
This class inherits a constructor from Bluepine::Attributes::Attribute
Instance Method Details
#spec ⇒ Object
6 7 8 |
# File 'lib/bluepine/attributes/ip_address_attribute.rb', line 6 def spec "RFC 2673 § 3.2" end |
#spec_uri ⇒ Object
10 11 12 |
# File 'lib/bluepine/attributes/ip_address_attribute.rb', line 10 def spec_uri "https://tools.ietf.org/html/rfc2673#section-3.2" end |