Module: Trek::Phonable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/trek/phonable.rb
Overview
Phonable provides a way standardize to handle phone numbers in models attributes.
Usage:
class Page < ApplicationRecord include Trek::Phonable phonable_attributes :phone, :fax end