    # File lib/fog/openstack.rb, line 159
        def self.get_service(body, service_type=[], service_name=nil)
          body['access']['serviceCatalog'].detect do |s|
            if service_name.nil? or service_name.empty?
              service_type.include?(s['type'])
            else
              service_type.include?(s['type']) and s['name'] == service_name
            end
          end
        end