Sha256: 4a98699c89689063b98b0ae7e4c1f6348c6e16061dff48eb8fbd41a5efacd558
Contents?: true
Size: 646 Bytes
Versions: 4
Compression:
Stored size: 646 Bytes
Contents
module Mumuki::Laboratory::Status::Discussion::Opened extend Mumuki::Laboratory::Status::Discussion def self.opened? true end def self.reachable_statuses_for_initiator(discussion) if discussion.has_responses? [Mumuki::Laboratory::Status::Discussion::PendingReview] else [Mumuki::Laboratory::Status::Discussion::Closed] end end def self.reachable_statuses_for_moderator(_) [Mumuki::Laboratory::Status::Discussion::Closed, Mumuki::Laboratory::Status::Discussion::Solved] end def self.iconize {class: :warning, type: 'question-circle'} end def self.should_be_shown?(*) true end end
Version data entries
4 entries across 4 versions & 1 rubygems