Class: Voltron::Config::Upload

Inherits:
Object
  • Object
show all
Defined in:
lib/voltron/config/upload.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUpload

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

#enabledObject

Returns the value of attribute enabled.



10
11
12
# File 'lib/voltron/config/upload.rb', line 10

def enabled
  @enabled
end

#previewsObject

Returns the value of attribute previews.



10
11
12
# File 'lib/voltron/config/upload.rb', line 10

def previews
  @previews
end