Class: Marty::DeloreanRuleView

Inherits:
BaseRuleView show all
Includes:
Extras::Layout
Defined in:
app/components/marty/delorean_rule_view.rb

Constant Summary

Constants included from Extras::Layout

Extras::Layout::BOOL_MAP, Extras::Layout::MAP_BOOL

Constants included from Permissions

Permissions::ALL_ROLES, Permissions::REQ_ROLES

Class Method Summary collapse

Methods included from Extras::Layout

#bool_getter, #bool_setter, #dispfield, #enum_array, #enum_column, #enum_setter, #fieldset, #hbox, #hspacer, #jsonb_field, #nullable_bool_column, #range_column, #range_field, #range_getter, #range_setter, #textarea_field, #vbox, #vspacer

Methods inherited from BaseRuleView

computed_fields, #configure, #default_bbar, #default_context_menu, #default_form_items, field_maker, #form_items_attrs, #form_items_computed_guards, #form_items_grids, #form_items_guards, #form_items_results, grid_column, hash_to_simple, init_fields, #json_sort_scope, jsonb_field_getter, jsonb_field_setter, #jsonb_getter, #jsonb_simple_getter, #jsonb_simple_setter, #klass, simple_to_hashstr

Methods inherited from McflyGridPanel

#augment_attribute_config, #configure, #get_records

Methods inherited from Grid

#class_can?, #configure, #configure_form_window, #get_json_sorter, #has_search_action?

Methods included from Permissions

#can_perform_action?, #can_perform_actions, #current_user_roles, #has_any_perm?, #has_marty_permissions

Class Method Details

.base_fieldsObject



8
9
10
# File 'app/components/marty/delorean_rule_view.rb', line 8

def self.base_fields
  super + [:rule_type, :start_dt, :end_dt]
end

.klassObject



4
5
6
# File 'app/components/marty/delorean_rule_view.rb', line 4

def self.klass
  Marty::DeloreanRule
end