Class: DecoratorDryer::Configuration::AttachmentShortcutsConfig
- Inherits:
-
Object
- Object
- DecoratorDryer::Configuration::AttachmentShortcutsConfig
- Defined in:
- lib/decorator_dryer/configuration.rb
Instance Attribute Summary collapse
-
#default_preview_transform ⇒ Object
Returns the value of attribute default_preview_transform.
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize ⇒ AttachmentShortcutsConfig
constructor
A new instance of AttachmentShortcutsConfig.
Constructor Details
#initialize ⇒ AttachmentShortcutsConfig
Returns a new instance of AttachmentShortcutsConfig.
24 25 26 27 |
# File 'lib/decorator_dryer/configuration.rb', line 24 def initialize @mode = :none @default_preview_transform = :none end |
Instance Attribute Details
#default_preview_transform ⇒ Object
Returns the value of attribute default_preview_transform.
22 23 24 |
# File 'lib/decorator_dryer/configuration.rb', line 22 def default_preview_transform @default_preview_transform end |
#mode ⇒ Object
Returns the value of attribute mode.
22 23 24 |
# File 'lib/decorator_dryer/configuration.rb', line 22 def mode @mode end |