Class: BrDanfe::Logo::Config
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- BrDanfe::Logo::Config
- Defined in:
- lib/br_danfe/logo_config.rb
Constant Summary collapse
- DEFAULTOPTIONS =
{ logo: '', logo_dimensions: {} }.freeze
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( = {}) = DEFAULTOPTIONS.merge(config_yaml_load) super .merge() end |