Class: PhoneData
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- PhoneData
- Defined in:
- app/models/phone_data.rb
Overview
typed: ignore
Schema Information
Table name: phone_data
id :bigint not null, primary key
is_verified :boolean default(FALSE)
phone :string(191)
verification_code :string(191)
created_at :datetime not null
updated_at :datetime not null
Instance Method Summary collapse
Methods inherited from ApplicationRecord
Instance Method Details
#verified? ⇒ Boolean
14 15 16 |
# File 'app/models/phone_data.rb', line 14 def verified? is_verified == true end |