Class: SDL::Attachment::HasOne
- Inherits:
-
SDL::Attachment
- Object
- Field
- SDL::Attachment
- SDL::Attachment::HasOne
- Defined in:
- lib/sdl/attachment.rb
Overview
A file that is attached to a Model
Instance Method Summary collapse
-
#type ⇒ Symbol
The type of field.
Constructor Details
This class inherits a constructor from SDL::Field
Instance Method Details
#type ⇒ Symbol
The type of field
13 14 15 |
# File 'lib/sdl/attachment.rb', line 13 def type :has_one_attached end |