Sha256: bc846e3a95357442ef058ee01269c167d5d43bdb79dbf59d0b0db733b2c8cdc6

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

module LesliAudit
    class Account < ApplicationRecord
        belongs_to :account, class_name: "Lesli::Account"
        has_many :account_requests
        has_many :user_requests
        has_many :dashboards

        after_create :initialize_account

        def initialize_account
            Dashboard.initialize_account(self)
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lesli_audit-0.5.0 app/models/lesli_audit/account.rb