Module: Typhoeus::Hydra::Stubbing

Includes:
SharedMethods
Included in:
Typhoeus::Hydra
Defined in:
lib/typhoeus/hydra/stubbing.rb

Defined Under Namespace

Modules: SharedMethods

Class Method Summary collapse

Methods included from SharedMethods

#clear_stubs, extended, #find_stub_from_request, #register_stub_finder, #stub, #stub_finders

Class Method Details

.included(base) ⇒ Object



42
43
44
45
46
47
# File 'lib/typhoeus/hydra/stubbing.rb', line 42

def self.included(base)
  base.extend(SharedMethods)
  base.class_eval do
    attr_accessor :stubs
  end
end