class ResponseMate::Commands::Record
Handles the invocation of the record command
Public Instance Methods
run()
click to toggle source
Run the command based on args, options provided
# File lib/response_mate/commands/record.rb, line 4 def run environment = ResponseMate::Environment.new(options[:environment]) options[:manifest] = ResponseMate::Manifest.new(options[:requests_manifest], environment) recorder = ResponseMate::Recorder.new(options) recorder.record(options[:keys]) end