Class: Voltron::Config::Upload
- Inherits:
-
Object
- Object
- Voltron::Config::Upload
- Defined in:
- lib/voltron/config/upload.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#previews ⇒ Object
Returns the value of attribute previews.
Instance Method Summary collapse
-
#initialize ⇒ Upload
constructor
A new instance of Upload.
Constructor Details
#initialize ⇒ Upload
Returns a new instance of Upload.
12 13 14 15 |
# File 'lib/voltron/config/upload.rb', line 12 def initialize @enabled ||= true @previews ||= {} end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
10 11 12 |
# File 'lib/voltron/config/upload.rb', line 10 def enabled @enabled end |
#previews ⇒ Object
Returns the value of attribute previews.
10 11 12 |
# File 'lib/voltron/config/upload.rb', line 10 def previews @previews end |