Class: Mayaml::MuttConfigsAccounts::Handler

Inherits:
Object
  • Object
show all
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 ||
    key = build_path(prefix_path, )
    view = .render 
    {key => view}
  end
end