def update_attributes(attributes)
      attributes.each { |attribute, value| write_attribute(attribute, value) }
      save
    end
def update_attributes(attributes)
      attributes.each { |attribute, value| write_attribute(attribute, value) }
      save
    end
Updates multiple attributes at once, saving the object once the updates are complete.

 @param [Hash] attributes a hash of attributes to update

 @since 0.2.0