Module: CcApiStub::OrganizationUsers
- Extended by:
- Helper
- Defined in:
- lib/cc_api_stub/organization_users.rb
Class Method Summary
collapse
Methods included from Helper
fail_request, fail_to_load, fail_to_load_many, fail_to_update, fail_with_error, find_fixture, fixture_prefix, host, host=, load_fixtures, object_class, object_name, response, response, stub_delete, stub_get, stub_post, stub_put, stub_request, succeed_to_create, succeed_to_delete, succeed_to_load, succeed_to_load_empty, succeed_to_load_many, succeed_to_update
Class Method Details
.fail_to_delete(options = {}) ⇒ Object
10
11
12
|
# File 'lib/cc_api_stub/organization_users.rb', line 10
def fail_to_delete(options = {})
stub_delete(object_endpoint(options[:id]), {}, response(500))
end
|
.succeed_to_delete(options = {}) ⇒ Object
6
7
8
|
# File 'lib/cc_api_stub/organization_users.rb', line 6
def succeed_to_delete(options = {})
stub_delete(object_endpoint(options[:id]), {}, response(200, ""))
end
|