Class: Mayaml::MuttConfigsAccounts::Handler
- Inherits:
-
Object
- Object
- Mayaml::MuttConfigsAccounts::Handler
- Includes:
- Mainapp::Component
- Defined in:
- lib/mayaml/mutt_configs_accounts/handler.rb
Instance Method Summary collapse
Instance Method Details
#execute(data, prefix_path) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/mayaml/mutt_configs_accounts/handler.rb', line 11 def execute(data, prefix_path) data.map do |account_data| key = build_path(prefix_path, account_data) view = mutt_account_creds_generator.render account_data {key => view} end end |