Class: Increase::Resources::Simulations::Exports
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::Exports
- Defined in:
- lib/increase/resources/simulations/exports.rb
Instance Method Summary collapse
-
#create(account_id:, request_options: {}) ⇒ Increase::Models::Export
Simulates a tax form export being generated.
-
#initialize(client:) ⇒ Exports
constructor
private
A new instance of Exports.
Constructor Details
#initialize(client:) ⇒ Exports
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Exports.
32 33 34 |
# File 'lib/increase/resources/simulations/exports.rb', line 32 def initialize(client:) @client = client end |
Instance Method Details
#create(account_id:, request_options: {}) ⇒ Increase::Models::Export
Simulates a tax form export being generated.
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/increase/resources/simulations/exports.rb', line 18 def create(params) parsed, = Increase::Simulations::ExportCreateParams.dump_request(params) @client.request( method: :post, path: "simulations/exports", body: parsed, model: Increase::Export, options: ) end |