# File lib/cloudservers/shared_ip_group.rb, line 28 def populate response = @connection.csreq("GET",@connection.svrmgmthost,"#{@connection.svrmgmtpath}/shared_ip_groups/#{URI.escape(self.id.to_s)}",@connection.svrmgmtport,@connection.svrmgmtscheme) CloudServers::Exception.raise_exception(response) unless response.code.match(/^20.$/) data = JSON.parse(response.body)['sharedIpGroup'] @id = data['id'] @name = data['name'] @servers = data['servers'] true end