Class: WebSocketVCR::RecordedJsonSession
- Inherits:
-
RecordedSession
- Object
- RecordedSession
- WebSocketVCR::RecordedJsonSession
- 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(json, erb_variables = nil) ⇒ Object
112 113 114 |
# File 'lib/simple_websocket_vcr/cassette.rb', line 112 def self.load(json, erb_variables = nil) json.map { |session| RecordedJsonSession.new(session, erb_variables) } end |