Module: CassetteRack

Defined in:
lib/cassette-rack.rb,
lib/cassette-rack/cli.rb,
lib/cassette-rack/tree.rb,
lib/cassette-rack/drawer.rb,
lib/cassette-rack/engine.rb,
lib/cassette-rack/default.rb,
lib/cassette-rack/request.rb,
lib/cassette-rack/version.rb,
lib/cassette-rack/response.rb,
lib/cassette-rack/configure.rb,
lib/cassette-rack/tree/leaf.rb,
lib/cassette-rack/tree/branch.rb,
lib/cassette-rack/decorator/request.rb,
lib/cassette-rack/decorator/response.rb,
lib/cassette-rack/response/raise_error.rb

Defined Under Namespace

Modules: Cli, Configure, Decorator, Default, Request, Tree Classes: Drawer, Engine, Response

Constant Summary collapse

VERSION =
'0.10.0'.freeze

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/cassette-rack.rb', line 19

def config
  CassetteRack::Configure
end

.configure {|CassetteRack::Configure| ... } ⇒ Object



15
16
17
# File 'lib/cassette-rack.rb', line 15

def configure
  yield CassetteRack::Configure
end

.rootObject



23
24
25
# File 'lib/cassette-rack.rb', line 23

def root
  @root ||= Pathname.new(File.expand_path('..', File.dirname(__FILE__)))
end