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

Other tags:
    Private: -
def initialize
  @name    = nil
  @options = {}
end

def name(name = nil)

Returns:
  • (#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 = {})

Returns:
  • (Hash) - the cassette options

Parameters:
  • options (Hash) -- the cassette options
def options(options = {})
  @options.merge!(options)
end