Class: WebSocketVCR::RecordedYamlSession
- Inherits:
-
RecordedSession
- Object
- RecordedSession
- WebSocketVCR::RecordedYamlSession
- Defined in:
- lib/simple_websocket_vcr/cassette.rb
Instance Attribute Summary
Attributes inherited from RecordedSession
Class Method Summary collapse
Methods inherited from RecordedSession
#head, #initialize, #method_missing, #next, #store
Constructor Details
This class inherits a constructor from WebSocketVCR::RecordedSession
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class WebSocketVCR::RecordedSession
Class Method Details
.load(yaml, erb_variables = nil) ⇒ Object
118 119 120 |
# File 'lib/simple_websocket_vcr/cassette.rb', line 118 def self.load(yaml, erb_variables = nil) yaml['websocket_interactions'].map { |session| RecordedYamlSession.new(session, erb_variables) } end |