Sha256: cf3956b647d92403a7a2c49f13c755848410496c505d5d7918bab78f11f42385
Contents?: true
Size: 1.16 KB
Versions: 17
Compression:
Stored size: 1.16 KB
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, :simple_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 action :simple_view do |a| a.text = a.tooltip = 'Gemini Simple' 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 component :simple_view do |c| c.klass = Gemini::SimpleView end end
Version data entries
17 entries across 17 versions & 1 rubygems