Class: SDL::Attachment::HasMany

Inherits:
SDL::Attachment show all
Defined in:
lib/sdl/attachment.rb

Overview

A list of files that are attached to a Model

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from SDL::Field

Instance Method Details

#typeSymbol

The type of field

Returns:

  • (Symbol)

22
23
24
# File 'lib/sdl/attachment.rb', line 22

def type
  :has_many_attached
end