Sha256: 0fe79d74f679a963f9b21b67698502e326dda8c9e719bb169979e067dc78ffcb
Contents?: true
Size: 649 Bytes
Versions: 19
Compression:
Stored size: 649 Bytes
Contents
module Fog module Identity class OpenStack class V3 class Real def list_projects(options = {}) user_id = options.delete('user_id') || options.delete(:user_id) if user_id path = "users/#{user_id}/projects" else path = "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
19 entries across 19 versions & 3 rubygems