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



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

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

.endpoint_pathObject



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

def self.endpoint_path
  "objectstore-api/"
end

.table_nameObject



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

def self.table_name
  "file"
end