Module: Brightcontent::Attachments::ModelExtensions::ClassMethods
- Defined in:
- lib/brightcontent/attachments/model_extensions.rb
Instance Attribute Summary collapse
-
#attachment_styles ⇒ Object
readonly
Returns the value of attribute attachment_styles.
Instance Method Summary collapse
Instance Attribute Details
#attachment_styles ⇒ Object (readonly)
Returns the value of attribute attachment_styles.
7 8 9 |
# File 'lib/brightcontent/attachments/model_extensions.rb', line 7 def @attachment_styles end |
Instance Method Details
#has_attached_files(styles) ⇒ Object
9 10 11 12 |
# File 'lib/brightcontent/attachments/model_extensions.rb', line 9 def has_attached_files(styles) include ::Brightcontent::Attachments::Attachable @attachment_styles = styles end |