Module: Decko
- Defined in:
- lib/decko/commands/command.rb,
lib/decko.rb,
lib/decko/engine.rb,
lib/decko/swagger.rb,
lib/decko/commands.rb,
lib/decko/response.rb,
lib/decko/application.rb,
lib/decko/rest_spec_helper.rb,
lib/decko/script_decko_loader.rb,
lib/decko/commands/rake_command.rb,
lib/decko/commands/rspec_command.rb,
lib/decko/commands/cucumber_command.rb,
lib/decko/commands/rake_command/parser.rb,
lib/decko/commands/rspec_command/parser.rb,
lib/decko/commands/cucumber_command/parser.rb
Overview
Defined Under Namespace
Modules: Commands, Response, RestSpecHelper, RestSpecMethods, ScriptDeckoLoader
Classes: Application, Engine, Swagger
Constant Summary
collapse
- DECKO_GEM_ROOT =
File.expand_path("../..", __FILE__)
Class Method Summary
collapse
Class Method Details
.application ⇒ Object
10
11
12
|
# File 'lib/decko.rb', line 10
def application
Rails.application
end
|
.card_gem_root ⇒ Object
26
27
28
|
# File 'lib/decko.rb', line 26
def card_gem_root
@card_gem_root ||= locate_gem "card"
end
|
.config ⇒ Object
14
15
16
|
# File 'lib/decko.rb', line 14
def config
application.config
end
|
.gem_root ⇒ Object
22
23
24
|
# File 'lib/decko.rb', line 22
def gem_root
DECKO_GEM_ROOT
end
|
.paths ⇒ Object
18
19
20
|
# File 'lib/decko.rb', line 18
def paths
application.paths
end
|
.root ⇒ Object
6
7
8
|
# File 'lib/decko.rb', line 6
def root
Rails.root
end
|