Sha256: cca4be6363b56889da71e6e25659da2dd3d1a45bb385898e2c28bfccc26eed0d
Contents?: true
Size: 515 Bytes
Versions: 2
Compression:
Stored size: 515 Bytes
Contents
module Pugin module Feature module Bandiera class << self def dissolution? get_features @features.fetch('show-dissolution', false) end def register_to_vote? get_features @features.fetch('show-register', false) end # Reset cached features def reset @features = nil end private # Get features if not already cached def get_features @features ||= Pugin::BANDIERA_CLIENT.get_features_for_group('parliament') end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pugin-0.7.1 | lib/pugin/feature/bandiera.rb |
pugin-0.7.0 | lib/pugin/feature/bandiera.rb |