lib/simple_websocket_vcr.rb in simple-websocket-vcr-0.0.7 vs lib/simple_websocket_vcr.rb in simple-websocket-vcr-0.1.0
- old
+ new
@@ -8,10 +8,11 @@
require 'simple_websocket_vcr/version'
require 'simple_websocket_vcr/monkey_patch'
module WebSocketVCR
extend self
+ attr_accessor :cassette
# @return [String] the current version.
# @note This string also has singleton methods:
#
# * `major` [Integer] The major version.
@@ -46,17 +47,9 @@
yield configuration
end
def configuration
@configuration ||= Configuration.new
- end
-
- def cassette
- @cassette
- end
-
- def cassette=(v)
- @cassette = v
end
def disabled
@disabled || false
end