Module: Bastion

Defined in:
app/controllers/bastion/bastion_controller.rb,
lib/bastion.rb,
lib/bastion/engine.rb,
lib/bastion/version.rb

Overview

Copyright 2014 Red Hat, Inc.

This software is licensed to you under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (GPLv2) or (at your option) any later version. There is NO WARRANTY for this software, express or implied, including the implied warranties of MERCHANTABILITY, NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 along with this software; if not, see www.gnu.org/licenses/old-licenses/gpl-2.0.txt.

Defined Under Namespace

Classes: BastionController, Engine

Constant Summary collapse

VERSION =
"0.1.13"
@@plugins =
{}

Class Method Summary collapse

Class Method Details

.pluginsObject



13
14
15
# File 'lib/bastion.rb', line 13

def self.plugins
  @@plugins
end

.register_plugin(plugin) ⇒ Object



17
18
19
# File 'lib/bastion.rb', line 17

def self.register_plugin(plugin)
  @@plugins[plugin[:name]] = plugin
end