class Appwrite::File
Attributes
content[R]
mime_type[R]
name[R]
path[R]
Public Class Methods
new(path, content)
click to toggle source
# File lib/appwrite/file.rb, line 10 def initialize(path, content) @path = path @content = content @name = ::File.basename(path) @mime_type = MIME::Types.type_for(path) end