Class: ImageInfo::Configuration
- Inherits:
-
Object
- Object
- ImageInfo::Configuration
- Defined in:
- lib/image_info/configuration.rb
Instance Attribute Summary collapse
-
#max_concurrency ⇒ Object
Returns the value of attribute max_concurrency.
-
#max_image_size ⇒ Object
Returns the value of attribute max_image_size.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_concurrency ⇒ Object
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_size ⇒ Object
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 |