Sha256: 1da6d7dadd67f2f57800b73c1eb2c05254bbea4e77559bbe8122a9c8598b8bd4

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

# coding: utf-8

class UserWithRequired
  include Mongoid::Document

  field :phone, type: RussianPhone.field(default_country: 7, allowed_cities: [495]), validate: false, required: true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
russian_phone-0.8.0 spec/support/user_with_required.rb
russian_phone-0.7.0 spec/support/user_with_required.rb
russian_phone-0.6.1 spec/support/user_with_required.rb
russian_phone-0.6.0 spec/support/user_with_required.rb
russian_phone-0.5.3 spec/support/user_with_required.rb
russian_phone-0.5.2 spec/support/user_with_required.rb
russian_phone-0.5.1 spec/support/user_with_required.rb
russian_phone-0.5.0 spec/support/user_with_required.rb