Class: Nfe::Export
- Inherits:
-
Object
- Object
- Nfe::Export
- Defined in:
- lib/nfe_reader/export.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Export
constructor
A new instance of Export.
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
#address ⇒ Object (readonly)
Returns the value of attribute address.
5 6 7 |
# File 'lib/nfe_reader/export.rb', line 5 def address @address end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
5 6 7 |
# File 'lib/nfe_reader/export.rb', line 5 def state @state end |