-
Notifications
You must be signed in to change notification settings - Fork 0
YHVCassette
Class represent model which is used by VCR to store requests and playback previously recorded data from it.
Reference on merged configuration object (merged with VCR configuration) which will be used to handle requests and stubbing data for them.
Contains number of fully stubbed requests - those for which response and data has been provided (data task finished data load and reported with handling blocks).
Whether cassette has been played to end of tape or not.
Whether this is new cassette or not. If cassette is new, part of record limitations doesn't apply.
Whether new requests can be written onto cassette or not. Only existing cassettes with YHVRecordOnce recording mode and YHVRecordNone may cause this property to return YES.
Reference on list of requests for which cassette store data for stubbing.
Reference on list of responses where each entry consist from nested array, where first element is NSURLResponse instance and second NSData or NSError (depending from whether request success or error has been recorded).