Sha256: f321dc3054a8620014b8b580d41ecbbf268218b5611772127c6364a5cb2ffdab

Contents?: true

Size: 404 Bytes

Versions: 20

Compression:

Stored size: 404 Bytes

Contents

module Mumuki::Domain::Status::Discussion::Closed
  extend Mumuki::Domain::Status::Discussion

  def self.closed?
    true
  end

  def self.reachable_statuses_for_moderator(*)
    [Mumuki::Domain::Status::Discussion::Opened, Mumuki::Domain::Status::Discussion::Solved]
  end

  def self.iconize
    {class: :danger, type: 'times-circle'}
  end

  def self.requires_attention_for?(_)
    false
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mumuki-domain-9.23.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.22.1 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.22.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.21.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.20.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.19.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.18.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.17.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.16.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.15.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.14.1 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.14.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.13.1 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.13.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.12.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.11.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.10.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.9.0 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.8.1 lib/mumuki/domain/status/discussion/closed.rb
mumuki-domain-9.8.0 lib/mumuki/domain/status/discussion/closed.rb