Module: CassetteRack::Default

Defined in:
lib/cassette-rack/default.rb

Constant Summary collapse

CASSETTE_PATH =
'spec/cassettes'.freeze
URL =
'http://localhost:3000'.freeze

Class Method Summary collapse

Class Method Details

.cassette_pathObject



11
12
13
# File 'lib/cassette-rack/default.rb', line 11

def cassette_path
  CASSETTE_PATH
end

.optionsObject



7
8
9
# File 'lib/cassette-rack/default.rb', line 7

def options
  Hash[CassetteRack::Configure.keys.map{|key| [key, send(key)]}]
end

.urlObject



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

def url
  URL
end