Class: BrDanfe::Logo::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/br_danfe/logo_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(new_options = {})
  @logo = new_options[:logo] || ''
  @logo_dimensions = new_options[:logo_dimensions] || {}
end

Instance Attribute Details

#logoObject

Returns the value of attribute logo.



4
5
6
# File 'lib/br_danfe/logo_config.rb', line 4

def 
  @logo
end

#logo_dimensionsObject

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