Sha256: ff84fa7ffedd88165ad890b31f4692ee75458d9fbd99a6f0147278957fb2f8ee
Contents?: true
Size: 961 Bytes
Versions: 86
Compression:
Stored size: 961 Bytes
Contents
class Gemini::CmAuthApp < Marty::MainAuthApp CATEGORY_COMPONENTS = [ :loan_program_view, ] def data_menus basic = [ { text: 'Pricing Config.', icon: icon_hack(:database_key), menu: [ :loan_program_view, :my_rule_view, :xyz_rule_view, ], } ] end action :loan_program_view do |a| a.text = a.tooltip = 'Loan Programs' a.handler = :netzke_load_component_by_action end action :my_rule_view do |a| a.text = a.tooltip = 'My Rules' a.handler = :netzke_load_component_by_action end action :xyz_rule_view do |a| a.text = a.tooltip = 'Xyz Rules' a.handler = :netzke_load_component_by_action end component :loan_program_view do |c| c.klass = Gemini::LoanProgramView end component :my_rule_view do |c| c.klass = Gemini::MyRuleView end component :xyz_rule_view do |c| c.klass = Gemini::XyzRuleView end end
Version data entries
86 entries across 86 versions & 1 rubygems