Class: Belvo::TaxReturnOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/belvo/options.rb

Overview

Contains configurable properties of a TaxReturn

Instance Attribute Summary collapse

Instance Attribute Details

#attach_pdfObject

Should the PDF file be included in the response or not.



143
144
145
146
147
148
149
150
151
# File 'lib/belvo/options.rb', line 143

class TaxReturnOptions < Faraday::Options.new(
  :token,
  :save_data,
  :attach_pdf,
  :type,
  :date_from,
  :date_to
)
end

#save_dataObject

Should data be persisted or not.



143
144
145
146
147
148
149
150
151
# File 'lib/belvo/options.rb', line 143

class TaxReturnOptions < Faraday::Options.new(
  :token,
  :save_data,
  :attach_pdf,
  :type,
  :date_from,
  :date_to
)
end

#tokenObject

OTP token required by the institution



143
144
145
146
147
148
149
150
151
# File 'lib/belvo/options.rb', line 143

class TaxReturnOptions < Faraday::Options.new(
  :token,
  :save_data,
  :attach_pdf,
  :type,
  :date_from,
  :date_to
)
end