Last active
December 7, 2017 13:27
-
-
Save voodoorai2000/67c1397de33c54d05b7150d3d628441c to your computer and use it in GitHub Desktop.
CONSUL - Skipping census and sms verification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add this line to `config/application.rb` | |
config.paths['app/models/concerns'].unshift(Rails.root.join('app', 'models', 'concerns', 'custom')) | |
#add you custom implementation to `app/models/concerns/custom/verification.rb`, for example: | |
require_dependency Rails.root.join('app', 'models', 'concerns', 'verification').to_s | |
module Verification | |
extend ActiveSupport::Concern | |
def residence_verified? | |
true | |
end | |
def sms_verified? | |
true | |
end | |
def verification_letter_sent? | |
true | |
end | |
def level_three_verified? | |
true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment