Module: RussianPhone

Defined in:
lib/russian_phone/codes.rb,
lib/russian_phone.rb,
lib/russian_phone/field.rb,
lib/russian_phone/number.rb,
lib/russian_phone/railtie.rb,
lib/russian_phone/version.rb,
lib/russian_phone/active_record.rb,
lib/russian_phone/format_validator.rb,
lib/russian_phone/presence_validator.rb

Overview

Defined Under Namespace

Modules: ActiveRecord Classes: Codes, Field, FormatValidator, Number, PresenceValidator, Railtie

Constant Summary collapse

VERSION =
"0.8.0"

Class Method Summary collapse

Class Method Details

.field(options = {}) ⇒ Object



13
14
15
# File 'lib/russian_phone.rb', line 13

def self.field(options = {})
  RussianPhone::Field.new(options)
end