# File lib/fog/rackspace/models/monitoring/alarm.rb, line 22 def check=(obj) attributes[:check] = obj.is_a?(String) ? Check.new(:id => obj) : obj end