Class: Nfe::Export

Inherits:
Object
  • Object
show all
Defined in:
lib/nfe_reader/export.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Export

Returns a new instance of Export.



7
8
9
10
# File 'lib/nfe_reader/export.rb', line 7

def initialize(attrs = {})
  @state = attrs[:UFEmbarq]
  @address = attrs[:xLocEmbarq]
end

Instance Attribute Details

#addressObject (readonly)

Returns the value of attribute address.



5
6
7
# File 'lib/nfe_reader/export.rb', line 5

def address
  @address
end

#stateObject (readonly)

Returns the value of attribute state.



5
6
7
# File 'lib/nfe_reader/export.rb', line 5

def state
  @state
end