Sha256: 0ce4850589fcb27ce5c9263655d02485e3f2db555556b32b17dd538461dacc08

Contents?: true

Size: 607 Bytes

Versions: 1

Compression:

Stored size: 607 Bytes

Contents

module LesliAudit
    class Dashboard::Component < ApplicationRecord

        belongs_to :dashboard, inverse_of: :components

        def self.component_ids
            ["audit-users", "audit-roles"]
        end
        # components_ids: {
        #     list_new_tickets: "list_new_tickets",
        #     list_my_tickets: "list_my_tickets",
        #     list_unassigned_tickets: "list_unassigned_tickets",
        #     chart_tickets_by_type: "chart_tickets_by_type",
        #     chart_tickets_by_category: "chart_tickets_by_category",
        #     hours_worked: "hours_worked"
        # }
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lesli_audit-0.5.0 app/models/lesli_audit/dashboard/component.rb