Class: Sigiss::FetchData
- Inherits:
-
InvoiceData
- Object
- InvoiceData
- Sigiss::FetchData
- Defined in:
- lib/sigiss/invoice_data/fetch_data.rb
Instance Attribute Summary collapse
-
#autenticidade ⇒ Object
Returns the value of attribute autenticidade.
-
#nota ⇒ Object
Returns the value of attribute nota.
-
#serie ⇒ Object
Returns the value of attribute serie.
-
#valor ⇒ Object
Returns the value of attribute valor.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ FetchData
constructor
A new instance of FetchData.
Methods included from Extension
Constructor Details
#initialize(attributes = {}) ⇒ FetchData
Returns a new instance of FetchData.
7 8 9 10 11 12 |
# File 'lib/sigiss/invoice_data/fetch_data.rb', line 7 def initialize(attributes = {}) @nota = attributes[:nota] @serie = attributes[:serie] @autenticidade = attributes[:autenticidade] @valor = attributes[:valor] end |
Instance Attribute Details
#autenticidade ⇒ Object
Returns the value of attribute autenticidade.
4 5 6 |
# File 'lib/sigiss/invoice_data/fetch_data.rb', line 4 def autenticidade @autenticidade end |
#nota ⇒ Object
Returns the value of attribute nota.
4 5 6 |
# File 'lib/sigiss/invoice_data/fetch_data.rb', line 4 def nota @nota end |
#serie ⇒ Object
Returns the value of attribute serie.
4 5 6 |
# File 'lib/sigiss/invoice_data/fetch_data.rb', line 4 def serie @serie end |
#valor ⇒ Object
Returns the value of attribute valor.
4 5 6 |
# File 'lib/sigiss/invoice_data/fetch_data.rb', line 4 def valor @valor end |