Class: CloseReason
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- CloseReason
- Includes:
- MaybeCommunityRelated
- Defined in:
- /var/apps/qpixel/app/models/close_reason.rb
Instance Method Summary collapse
-
#global? ⇒ Boolean
Is the close reason network-wide (global)?.
Methods inherited from ApplicationRecord
#attributes_print, fuzzy_search, match_search, #match_search, sanitize_for_search, sanitize_name, sanitize_sql_in, useful_err_msg, with_lax_group_rules
Instance Method Details
#global? ⇒ Boolean
Is the close reason network-wide (global)?
12 13 14 |
# File '/var/apps/qpixel/app/models/close_reason.rb', line 12 def global? community.nil? end |