Class: StackOneMigration::AccountHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/stackone_migration/helpers/account_helper.rb

Class Method Summary collapse

Class Method Details

.merge_account?(account_id) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/stackone_migration/helpers/account_helper.rb', line 7

def self.merge_account?()
  !stackone_account?()
end

.stackone_account?(account_id) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/stackone_migration/helpers/account_helper.rb', line 3

def self.stackone_account?()
   =~ /\A\d+\Z/
end