# File lib/fog/identity/openstack/v3/models/groups.rb, line 15 def find_by_id(id) cached_group = find { |group| group.id == id } return cached_group if cached_group group_hash = service.get_group(id).body['group'] Fog::Identity::OpenStack::V3.group.new( group_hash.merge(:service => service) ) end