Class: Dina::ObjectStore
- Defined in:
- lib/dina/models/object_store/object_store.rb
Instance Attribute Summary collapse
-
#accepted_types ⇒ Object
Returns the value of attribute accepted_types.
Class Method Summary collapse
Methods inherited from BaseModel
custom_headers, find_by_group, #initialize, properties, site
Constructor Details
This class inherits a constructor from Dina::BaseModel
Instance Attribute Details
#accepted_types ⇒ Object
Returns the value of attribute accepted_types.
45 46 47 |
# File 'lib/dina/models/object_store/object_store.rb', line 45 def accepted_types @accepted_types end |
Class Method Details
.accepted_types ⇒ Object
55 56 57 58 59 60 61 62 63 64 |
# File 'lib/dina/models/object_store/object_store.rb', line 55 def self.accepted_types [ "IMAGE", "MOVING_IMAGE", "SOUND", "TEXT", "DATASET", "UNDETERMINED" ] end |
.endpoint_path ⇒ Object
47 48 49 |
# File 'lib/dina/models/object_store/object_store.rb', line 47 def self.endpoint_path "objectstore-api/" end |
.table_name ⇒ Object
51 52 53 |
# File 'lib/dina/models/object_store/object_store.rb', line 51 def self.table_name "metadata" end |