Sha256: e63d1788061f91c6b0efa8cc8a17dde6cd95bea8ab4c551b2eb2d719924c82cc

Contents?: true

Size: 322 Bytes

Versions: 8

Compression:

Stored size: 322 Bytes

Contents

class User
  include Mongoid::Document

  field :name

  field :phone, type: RussianPhone.field(default_country: 7, allowed_cities: [495])

  field :phone_in_495, type: RussianPhone.field(default_country: 7, default_city: '495')
  field :phone_in_812, type: RussianPhone.field(default_country: 7, default_city: '812')
end

Version data entries

8 entries across 8 versions & 1 rubygems

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