def set(attributes = {})
      attributes.each_pair do |key, value|
        send("#{key}=", value) if respond_to?(key)
      end

      self
    end
def set(attributes = {})
      attributes.each_pair do |key, value|
        send("#{key}=", value) if respond_to?(key)
      end

      self
    end
Set the name tokens to the values defined in the passed-in hash.