# File lib/cimi/model/volume.rb, line 67 def self.find_to_attach_from_json(json_in, context) json = JSON.parse(json_in) volumes = json["volumes"].map{|v| {:volume=>self.find(v["volume"]["href"].split("/volumes/").last, context), :attachment_point=>v["attachmentPoint"] }} end