Top Level Namespace
Defined Under Namespace
Modules: ActiveResource, SingularPluralDetection
Classes: Dupe, Hash, HashPruner, Sequence, String, Symbol
Instance Method Summary
collapse
Instance Method Details
#Delete(url_pattern, &block) ⇒ Object
114
115
116
|
# File 'lib/superdupe/custom_mocks.rb', line 114
def Delete(url_pattern, &block)
Dupe.network.define_service_mock :delete, url_pattern, block
end
|
#Get(url_pattern, &block) ⇒ Object
102
103
104
|
# File 'lib/superdupe/custom_mocks.rb', line 102
def Get(url_pattern, &block)
Dupe.network.define_service_mock :get, url_pattern, block
end
|
#Post(url_pattern, &block) ⇒ Object
106
107
108
|
# File 'lib/superdupe/custom_mocks.rb', line 106
def Post(url_pattern, &block)
Dupe.network.define_service_mock :post, url_pattern, block
end
|
#Put(url_pattern, &block) ⇒ Object
110
111
112
|
# File 'lib/superdupe/custom_mocks.rb', line 110
def Put(url_pattern, &block)
Dupe.network.define_service_mock :put, url_pattern, block
end
|