Sha256: cfb7e0f5432d8655a480ca4cd0c7fd3efa7f64a9e21a8ddd4d3669c2a6dcec78
Contents?: true
Size: 393 Bytes
Versions: 13
Compression:
Stored size: 393 Bytes
Contents
module PlateApi::PlateObject class Attachment < Base has_one :site, "PlateApi::PlateObject::Site" has_one :attachment_folder, "PlateApi::PlateObject::AttachmentFolder" def download @object_handler.api_connector.get("attachments/#{@id}/download", {}, :raw) end def self.api_name "attachments" end def self.parent_class Site end end end
Version data entries
13 entries across 13 versions & 1 rubygems