Sha256: 86f8c788d6f1efcaba28db0e9159e333f86614bf5f10353b243bb9f44fb27a78
Contents?: true
Size: 461 Bytes
Versions: 23
Compression:
Stored size: 461 Bytes
Contents
module CcApiStub module OrganizationUsers extend Helper class << self def succeed_to_delete(options = {}) stub_delete(object_endpoint(options[:id]), {}, response(200, "")) end def fail_to_delete(options = {}) stub_delete(object_endpoint(options[:id]), {}, response(500)) end private def object_endpoint(id = nil) %r{/v2/organizations/[^/]+/users/#{id}[^/]+$} end end end end
Version data entries
23 entries across 23 versions & 2 rubygems
Version | Path |
---|---|
cfoundry-4.3.4 | lib/cc_api_stub/organization_users.rb |
cfoundry-4.3.4.rc1 | lib/cc_api_stub/organization_users.rb |
cfoundry-4.3.3 | lib/cc_api_stub/organization_users.rb |