3 define_request :list_users do
5 meta :provider, :openstack
6 meta :service, :identity
8 meta :endpoint_type, :admin
11 'http://docs.openstack.org/api/openstack-identity-service/2.0/content/GET_listUsers_v2.0_users_.html'
17 unless self.anonymous?
18 h['X-Auth-Token'] = session_data[:body][:access][:token][:id]
31 service_spec = session_data[:body][:access][:serviceCatalog].find{|s| s[:type] == 'identity' }
32 "#{ service_spec[:endpoints][0][:adminURL] }/users"