Sha256: 989c0a0b6d1d1106a8534df07290bdd12a4f2e764c6cb505c78c5d89368ec98e

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 Bytes

Contents

module WebSocketVCR
  class Configuration
    attr_accessor :cassette_library_dir, :hook_uris, :json_cassettes

    def initialize
      reset_defaults!
    end

    def reset_defaults!
      @cassette_library_dir = 'spec/fixtures/vcr_cassettes'
      @hook_uris = []
      @json_cassettes = false
    end

    def method_missing(method_name, *_args, &_block)
      puts 'unknown method: ' + method_name.to_s
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple-websocket-vcr-1.0.0 lib/simple_websocket_vcr/configuration.rb
simple-websocket-vcr-0.1.0 lib/simple_websocket_vcr/configuration.rb
simple-websocket-vcr-0.0.7 lib/simple_websocket_vcr/configuration.rb
simple-websocket-vcr-0.0.6 lib/simple_websocket_vcr/configuration.rb
simple-websocket-vcr-0.0.5 lib/simple_websocket_vcr/configuration.rb