Sha256: 84d501394c0b1749fd97c5a8ca97ba932468fb6a3c84bdf603827f926eb2f3d4

Contents?: true

Size: 207 Bytes

Versions: 33

Compression:

Stored size: 207 Bytes

Contents

module TelephoneNumber
  class NumberValidation
    attr_reader :name, :pattern

    def initialize(name, data_hash)
      @name = name
      @pattern = data_hash[:national_number_pattern]
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
telephone_number-1.4.22 lib/telephone_number/number_validation.rb
telephone_number-1.4.21 lib/telephone_number/number_validation.rb
telephone_number-1.4.20 lib/telephone_number/number_validation.rb
telephone_number-1.4.19 lib/telephone_number/number_validation.rb
telephone_number-1.4.18 lib/telephone_number/number_validation.rb
telephone_number-1.4.16 lib/telephone_number/number_validation.rb
telephone_number-1.4.15 lib/telephone_number/number_validation.rb
telephone_number-1.4.14 lib/telephone_number/number_validation.rb
telephone_number-1.4.13 lib/telephone_number/number_validation.rb
telephone_number-1.4.12 lib/telephone_number/number_validation.rb
telephone_number-1.4.11 lib/telephone_number/number_validation.rb
telephone_number-1.4.10 lib/telephone_number/number_validation.rb
telephone_number-1.4.9 lib/telephone_number/number_validation.rb
telephone_number-1.4.8 lib/telephone_number/number_validation.rb
telephone_number-1.4.7 lib/telephone_number/number_validation.rb
telephone_number-1.4.6 lib/telephone_number/number_validation.rb
telephone_number-1.4.5 lib/telephone_number/number_validation.rb
telephone_number-1.4.4 lib/telephone_number/number_validation.rb
telephone_number-1.4.3 lib/telephone_number/number_validation.rb
telephone_number-1.4.2 lib/telephone_number/number_validation.rb