Class: Dina::File

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/dina/models/object_store/file.rb

Class Method Summary collapse

Methods inherited from BaseModel

find_by_group, #initialize, properties, site

Constructor Details

This class inherits a constructor from Dina::BaseModel

Class Method Details

.custom_headersObject



71
72
73
# File 'lib/dina/models/object_store/file.rb', line 71

def self.custom_headers
  { content_type: "multipart/form-data", authorization: Dina.header }
end

.endpoint_pathObject



63
64
65
# File 'lib/dina/models/object_store/file.rb', line 63

def self.endpoint_path
  "objectstore-api/"
end

.table_nameObject



67
68
69
# File 'lib/dina/models/object_store/file.rb', line 67

def self.table_name
  "file"
end