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



32
33
34
# File 'lib/dina/models/object_store/file.rb', line 32

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

.endpoint_pathObject



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

def self.endpoint_path
  "objectstore-api/"
end

.table_nameObject



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

def self.table_name
  "file"
end