Class: Screenshots::Configuration
- Inherits:
-
Object
- Object
- Screenshots::Configuration
- Defined in:
- lib/screenshots/configuration.rb
Instance Attribute Summary collapse
-
#blog_assets_url ⇒ Object
Returns the value of attribute blog_assets_url.
-
#image_extension ⇒ Object
Returns the value of attribute image_extension.
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/screenshots/configuration.rb', line 5 def initialize self.blog_assets_url = '' self.image_extension = 'jpg' end |
Instance Attribute Details
#blog_assets_url ⇒ Object
Returns the value of attribute blog_assets_url.
3 4 5 |
# File 'lib/screenshots/configuration.rb', line 3 def blog_assets_url @blog_assets_url end |
#image_extension ⇒ Object
Returns the value of attribute image_extension.
3 4 5 |
# File 'lib/screenshots/configuration.rb', line 3 def image_extension @image_extension end |