Class: Belvo::TaxStatusOptions

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

Overview

Contains configurable properties of a TaxStatus in Belvo. By default, this is set to ‘true` and we return a 201 Created response. When set to `false`, the data won’t be persisted and we return a 200 OK response.

Instance Attribute Summary collapse

Instance Attribute Details

#attach_pdfObject

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



191
192
193
194
195
196
# File 'lib/belvo/options.rb', line 191

class TaxStatusOptions < Faraday::Options.new(
  :token,
  :save_data,
  :attach_pdf
)
end

#save_dataObject

Indicates whether or not to persist the data



191
192
193
194
195
196
# File 'lib/belvo/options.rb', line 191

class TaxStatusOptions < Faraday::Options.new(
  :token,
  :save_data,
  :attach_pdf
)
end

#tokenObject

OTP token required by the institution



191
192
193
194
195
196
# File 'lib/belvo/options.rb', line 191

class TaxStatusOptions < Faraday::Options.new(
  :token,
  :save_data,
  :attach_pdf
)
end