Sha256: 9bca6cfff50f187f471509fd8b581d0a4e28d6174ba4f052db2ffeb904a9be33

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

module ExpressTranslate
  class ResetAccountGenerator < Rails::Generators::Base    
    include ExpressTranslate
    
    def reset_data
      Database.redis.del("account")
      Account.seed
      puts "Reset account is successful!"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
express_translate-1.0 lib/generators/express_translate/reset_account_generator.rb