class VCR::Middleware::CassetteArguments
the cassette dynamically based on the rack env.
Object yielded by VCR’s {Rack} middleware that allows you to configure
def initialize
- Private: -
def initialize @name = nil @options = {} end
def name(name = nil)
-
(#to_s)- the cassette name
Parameters:
-
name(#to_s) -- the cassette name
def name(name = nil) @name = name if name @name end
def options(options = {})
-
(Hash)- the cassette options
Parameters:
-
options(Hash) -- the cassette options
def options(options = {}) @options.merge!(options) end