Sha256: e9a8e21c711eddd97e4b6db6cb1ceddd816ff40c53e8fc73c3f4158dbcbd152c

Contents?: true

Size: 301 Bytes

Versions: 13

Compression:

Stored size: 301 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
plate_api-1.2.8 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.2.7 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.2.6 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.2.5 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.2.4 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.2.2 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.2.0 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.1.8 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.1.7 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.1.5 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.1.4 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.1.3 lib/plate_api/plate_object/attachment_folder.rb
plate_api-1.1.2 lib/plate_api/plate_object/attachment_folder.rb