def derive_mapper_from_object(model)
      mapper = detect_configured_mapper_for(model)
      return mapper if mapper
      return derive_mapper_from_collection(model) if model.respond_to? :to_ary
      derive_mapper_from_item(model)
    end
def derive_mapper_from_object(model)
      mapper = detect_configured_mapper_for(model)
      return mapper if mapper
      return derive_mapper_from_collection(model) if model.respond_to? :to_ary
      derive_mapper_from_item(model)
    end
@param options [Hash] options
 Main point of entry for mapper derivation. Calls
 derive_mapper_from_collection or derive_mapper_from_item
 depending on the model.

 @param model [Object]
 @return [Class] A mapper, typically a subclass of Yaks::Mapper

 @raise [RuntimeError] occurs when no mapper is found