Module: Overlay
- Defined in:
- lib/overlay/github.rb,
lib/overlay.rb,
lib/overlay/engine.rb,
lib/overlay/version.rb,
lib/overlay/configuration.rb,
app/controllers/overlay/github_controller.rb,
app/controllers/overlay/application_controller.rb
Overview
The github class is responsible for managing overlaying directories in a Github repo on the current application. Call to action is based on either a webhook call to the github controller or a publish event to a redis key.
Defined Under Namespace
Classes: ApplicationController, Configuration, Engine, Github, GithubController, GithubRepo, RequiredParameterError
Constant Summary collapse
- VERSION =
"2.3.0"
- VALID_OPTIONS_KEYS =
[ :repositories, :host_name, :host_port, :relative_root_url ].freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
14 15 16 |
# File 'lib/overlay/configuration.rb', line 14 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
17 18 19 20 |
# File 'lib/overlay/configuration.rb', line 17 def self.configure self.configuration ||= Configuration.new yield(configuration) end |