This class handles single association between the models. It expects the provider to map the attribute with an initialized object.
# File lib/fog/core/associations/one_model.rb, line 16 def create_getter model.class_eval " def #{name} associations[:#{name}] end ", __FILE__, __LINE__ end
# File lib/fog/core/associations/one_model.rb, line 8 def create_setter model.class_eval " def #{name}=(new_#{name}) associations[:#{name}] = new_#{name} end ", __FILE__, __LINE__ end