Class: WebSocketVCR::RecordedJsonSession

Inherits:
RecordedSession show all
Defined in:
lib/simple_websocket_vcr/cassette.rb

Instance Attribute Summary

Attributes inherited from RecordedSession

#record_entries

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) ⇒ Object



107
108
109
# File 'lib/simple_websocket_vcr/cassette.rb', line 107

def self.load(json)
  json.map { |session| RecordedJsonSession.new(session) }
end