Class: BrDanfe::Logo::Config
- Inherits:
-
Object
- Object
- BrDanfe::Logo::Config
- Defined in:
- lib/br_danfe/logo_config.rb
Instance Attribute Summary collapse
-
#logo ⇒ Object
Returns the value of attribute logo.
-
#logo_dimensions ⇒ Object
Returns the value of attribute logo_dimensions.
Instance Method Summary collapse
-
#initialize(new_options = {}) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(new_options = {}) ⇒ Config
Returns a new instance of Config.
6 7 8 9 |
# File 'lib/br_danfe/logo_config.rb', line 6 def initialize( = {}) @logo = [:logo] || '' @logo_dimensions = [:logo_dimensions] || {} end |
Instance Attribute Details
#logo ⇒ Object
Returns the value of attribute logo.
4 5 6 |
# File 'lib/br_danfe/logo_config.rb', line 4 def logo @logo end |
#logo_dimensions ⇒ Object
Returns the value of attribute logo_dimensions.
4 5 6 |
# File 'lib/br_danfe/logo_config.rb', line 4 def logo_dimensions @logo_dimensions end |