Sha256: d7f7f740fcdec11b13f82b7e585c365926701bbbad18c4836a37f8f8abfce721

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

module ExpressTranslate
  class ResetAccountGenerator < Rails::Generators::Base    
    include ExpressTranslate
    
    # Reset all account
    # Synchronize account with config file 
    def reset_data
      Account.reset
      puts "Reset account is successful!"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
express_translate-1.0.13 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.12 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.11 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.10 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.9 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.8 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.7 lib/generators/express_translate/reset_account_generator.rb
express_translate-1.0.6 lib/generators/express_translate/reset_account_generator.rb