Sha256: fd3ca2dc7b0284aa2ea51a74951646f83957caf706524b22210f35bba8773eb9
Contents?: true
Size: 671 Bytes
Versions: 4
Compression:
Stored size: 671 Bytes
Contents
module Fog module Identity class HuaweiCloud class V3 class Real def list_projects(options = {}) user_id = options.delete('user_id') || options.delete(:user_id) path = if user_id "users/#{user_id}/projects" else "projects" end request( :expects => [200], :method => 'GET', :path => path, :query => options ) end end class Mock def list_projects(options = {}) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems