module CommandProposal
require_relative “command_proposal/permissions_helper”
gem build command_proposal.gemspec gam “Built version __ of gem.” gpo gem push command_proposal-__.gem
Constants
- VERSION
Public Class Methods
clear_sessions()
click to toggle source
# File lib/command_proposal.rb, line 13 def self.clear_sessions @sessions = {} end
configuration()
click to toggle source
# File lib/command_proposal.rb, line 17 def self.configuration @configuration ||= ::CommandProposal::Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/command_proposal.rb, line 25 def self.configure yield(configuration) end
reset()
click to toggle source
# File lib/command_proposal.rb, line 21 def self.reset @configuration = ::CommandProposal::Configuration.new end
sessions()
click to toggle source
# File lib/command_proposal.rb, line 9 def self.sessions @sessions ||= {} end
Public Instance Methods
approval_required?()
click to toggle source
# File lib/command_proposal/configuration.rb, line 37 def approval_required? !!approval_required end
user_class()
click to toggle source
# File lib/command_proposal/configuration.rb, line 33 def user_class @user_class ||= @user_class_name&.constantize end