Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 855 Bytes

File metadata and controls

30 lines (24 loc) · 855 Bytes

Komoju::MerchantFile

Properties

Name Type Description Notes
id String Unique identifier for this file.
resource String Resource type name, always "file".
filename String Original filename of the uploaded file.
size Integer File size in bytes.
mime_type String MIME type of the uploaded file (e.g. "application/pdf").
created_at Time Timestamp when the file was uploaded.
updated_at Time Timestamp when the file record was last updated.

Example

require 'komoju-sdk'

instance = Komoju::MerchantFile.new(
  id: null,
  resource: null,
  filename: null,
  size: null,
  mime_type: null,
  created_at: null,
  updated_at: null
)