# File lib/fog/profitbricks/requests/compute/update_lan.rb, line 106 def update_lan(datacenter_id, lan_id, options = {}) if lan = data[:lans]['items'].find do |attrib| attrib['datacenter_id'] == datacenter_id && attrib['id'] == lan_id end options.each do |key, value| lan[key] = value end else raise Fog::Errors::NotFound, 'The requested LAN resource could not be found' end response = Excon::Response.new response.status = 202 response.body = lan response end