Class: StackOneMigration::AccountHelper
- Inherits:
-
Object
- Object
- StackOneMigration::AccountHelper
- Defined in:
- lib/stackone_migration/helpers/account_helper.rb
Class Method Summary collapse
Class Method Details
.merge_account?(account_id) ⇒ Boolean
7 8 9 |
# File 'lib/stackone_migration/helpers/account_helper.rb', line 7 def self.merge_account?(account_id) !stackone_account?(account_id) end |
.stackone_account?(account_id) ⇒ Boolean
3 4 5 |
# File 'lib/stackone_migration/helpers/account_helper.rb', line 3 def self.stackone_account?(account_id) account_id =~ /\A\d+\Z/ end |