Class: ResponseMate::Commands::Record
- Defined in:
- lib/response_mate/commands/record.rb
Overview
Handles the invocation of the record command
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#run ⇒ Object
Run the command based on args, options provided.
Methods inherited from Base
Constructor Details
This class inherits a constructor from ResponseMate::Commands::Base
Instance Method Details
#run ⇒ Object
Run the command based on args, options provided
4 5 6 7 8 9 10 11 12 |
# File 'lib/response_mate/commands/record.rb', line 4 def run environment = ResponseMate::Environment.new([:environment]) [:manifest] = ResponseMate::Manifest.new([:requests_manifest], environment) recorder = ResponseMate::Recorder.new() recorder.record([:keys]) end |