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



28
29
30
# File 'lib/dina/models/object_store/file.rb', line 28

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

.endpoint_pathObject



20
21
22
# File 'lib/dina/models/object_store/file.rb', line 20

def self.endpoint_path
  "objectstore-api/"
end

.table_nameObject



24
25
26
# File 'lib/dina/models/object_store/file.rb', line 24

def self.table_name
  "file"
end