Class: ImageInfo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/image_info/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/image_info/configuration.rb', line 5

def initialize
  @max_concurrency = 20
  @max_image_size = -1
end

Instance Attribute Details

#max_concurrencyObject

Returns the value of attribute max_concurrency.



3
4
5
# File 'lib/image_info/configuration.rb', line 3

def max_concurrency
  @max_concurrency
end

#max_image_sizeObject

Returns the value of attribute max_image_size.



3
4
5
# File 'lib/image_info/configuration.rb', line 3

def max_image_size
  @max_image_size
end