Class: ProveUru::ProfileList
- Inherits:
-
Object
- Object
- ProveUru::ProfileList
- Defined in:
- lib/prove_uru/profile_list.rb
Class Method Summary collapse
Class Method Details
.get_profile_list ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/prove_uru/profile_list.rb', line 2 def self.get_profile_list client = ProveUru.create_client response = client.request :prove, :get_profiles do soap.body = ProveUru.merge_prove_password_hash({}) end list = Array.new response = response.to_hash response[:get_profiles_response][:get_profiles_result][:uru_profile5].each do |p| list << ::ProveUru::Profile.new(p) end list end |