Class VCR::Request::Typed
In: lib/vcr/structs.rb
Parent: DelegateClass(self)

Decorates a {Request} with its current type.

Methods

Attributes

type  [R]  @return [Symbol] One of `:ignored`, `:stubbed`, `:recordable` or `:unhandled`.

Public Class methods

@param [Request] request the request @param [Symbol] type the type. Should be one of `:ignored`, `:stubbed`, `:recordable` or `:unhandled`.

Public Instance methods

@return [Boolean] whether or not this request is being stubbed by an

 external library (such as WebMock or FakeWeb).

@see stubbed_by_vcr? @see stubbed?

@return [Boolean] whether or not this request is being ignored

@return [Boolean] whether or not this request will be made for real. @note VCR allows `:ignored` and `:recordable` requests to be made for real.

@return [Boolean] whether or not this request will be recorded.

@return [Boolean] whether or not this request will be stubbed.

 It may be stubbed by an external library or by VCR.

@see stubbed_by_vcr? @see externally_stubbed?

@return [Boolean] whether or not this request is being stubbed by VCR @see externally_stubbed? @see stubbed?

@return [Boolean] whether or not VCR knows how to handle this request.

[Validate]