# File lib/fog/google/models/compute/routes.rb, line 10 def all data = service.list_routes.body load(data['items'] || []) end
# File lib/fog/google/models/compute/routes.rb, line 15 def get(identity) if route = service.get_route(identity).body new(route) end rescue Fog::Errors::NotFound nil end