Class: Magento::ProductImageConfiguration
- Inherits:
-
Object
- Object
- Magento::ProductImageConfiguration
- Defined in:
- lib/magento/configuration.rb
Instance Attribute Summary collapse
-
#large_size ⇒ Object
Returns the value of attribute large_size.
-
#medium_size ⇒ Object
Returns the value of attribute medium_size.
-
#small_size ⇒ Object
Returns the value of attribute small_size.
Instance Method Summary collapse
-
#initialize ⇒ ProductImageConfiguration
constructor
A new instance of ProductImageConfiguration.
Constructor Details
#initialize ⇒ ProductImageConfiguration
Returns a new instance of ProductImageConfiguration.
25 26 27 28 29 |
# File 'lib/magento/configuration.rb', line 25 def initialize self.small_size = '200x200>' self.medium_size = '400x400>' self.large_size = '800x800>' end |
Instance Attribute Details
#large_size ⇒ Object
Returns the value of attribute large_size.
23 24 25 |
# File 'lib/magento/configuration.rb', line 23 def large_size @large_size end |
#medium_size ⇒ Object
Returns the value of attribute medium_size.
23 24 25 |
# File 'lib/magento/configuration.rb', line 23 def medium_size @medium_size end |
#small_size ⇒ Object
Returns the value of attribute small_size.
23 24 25 |
# File 'lib/magento/configuration.rb', line 23 def small_size @small_size end |