Module: Octogate
- Defined in:
- lib/octogate.rb,
lib/octogate/gh.rb,
lib/octogate/events.rb,
lib/octogate/target.rb,
lib/octogate/gh/user.rb,
lib/octogate/version.rb,
lib/octogate/gh/commit.rb,
lib/octogate/events/base.rb,
lib/octogate/events/push.rb,
lib/octogate/config_loader.rb,
lib/octogate/configuration.rb,
lib/octogate/gh/repository.rb,
lib/octogate/target_builder.rb,
lib/octogate/gh/pull_request.rb,
lib/octogate/transfer_request.rb,
lib/octogate/events/pull_request.rb
Defined Under Namespace
Modules: Event, GH, TransferRequest
Classes: Client, ConfigLoader, Configuration, Model, NotRegisteredEvent, Server, Target, TargetBuilder
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
12
13
14
|
# File 'lib/octogate.rb', line 12
def config
@config ||= Configuration.instance
end
|
.find_target(key) ⇒ Object
16
17
18
|
# File 'lib/octogate.rb', line 16
def find_target(key)
@config.targets.fetch(key)
end
|