lib/amee/connection.rb
def raw_put(path, body, options = {})
      # Allow format override
      format = options.delete(:format) || @format
      # Clear cache
      expire_matching "#{parent_path(path)}.*"
      # Create PUT request
      put = Typhoeus::Request.new("#{protocol}#{@server}#{path}", 
        :verbose => DEBUG,
        :method => "put",
        :body => body,
        :headers => { :'Content-type' => options[:content_type] || content_type(format)  }
      )
      # Send request
      do_request(put, format)
    end
def raw_put(path, body, options = {})
      # Allow format override
      format = options.delete(:format) || @format
      # Clear cache
      expire_matching "#{parent_path(path)}.*"
      # Create PUT request
      put = Typhoeus::Request.new("#{protocol}#{@server}#{path}", 
        :verbose => DEBUG,
        :method => "put",
        :body => body,
        :headers => { :'Content-type' => options[:content_type] || content_type(format)  }
      )
      # Send request
      do_request(put, format)
    end
PUT to the AMEE API, passing in a string of data