Sha256: 834886fad024c2ad366bb59a3fa1e283ec21ec9ed20930c210a3eedb56c67571

Contents?: true

Size: 209 Bytes

Versions: 2

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

class Subnet
  include ActiveModel::Validations
  include ActiveModel::Conversion
  extend ActiveModel::Naming

  attr_accessor :id, :value

  validates :value, subnet: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_host-1.3.0 spec/fake_app/subnet.rb
validates_host-1.2.0 spec/fake_app/subnet.rb