platehub/plate_api

View on GitHub
lib/plate_api/plate_object/attachment_folder.rb

Summary

Maintainability
A
0 mins
Test Coverage
module PlateApi::PlateObject
  class AttachmentFolder < Base

    has_one :site, "PlateApi::PlateObject::Site"
    has_many :attachments, :attachment, "PlateApi::PlateObject::Attachment"

    def self.api_name
      "attachment_folders"
    end

    def self.parent_class
      Site
    end
  end
end