mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Move file_upload to namespace
This commit is contained in:
		
							parent
							
								
									e4e71541e7
								
							
						
					
					
						commit
						c6ff2c5d2e
					
				
					 1 changed files with 11 additions and 9 deletions
				
			
		|  | @ -1,5 +1,6 @@ | ||||||
| # :nodoc: | # :nodoc: | ||||||
| struct FileUpload | module Kemal | ||||||
|  |   struct FileUpload | ||||||
|     getter tmpfile : Tempfile |     getter tmpfile : Tempfile | ||||||
|     getter tmpfile_path : String |     getter tmpfile_path : String | ||||||
|     getter filename : String |     getter filename : String | ||||||
|  | @ -9,4 +10,5 @@ struct FileUpload | ||||||
|     def initialize(@tmpfile, @tmpfile_path, @meta, @headers) |     def initialize(@tmpfile, @tmpfile_path, @meta, @headers) | ||||||
|       @filename = @meta.filename.not_nil! |       @filename = @meta.filename.not_nil! | ||||||
|     end |     end | ||||||
|  |   end | ||||||
| end | end | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue