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, #stub

Class Method Details

.included(base) ⇒ Object



26
27
28
29
30
31
# File 'lib/typhoeus/hydra/stubbing.rb', line 26

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