lib/octobat/tax_region_setting.rb in octobat-2.0.18 vs lib/octobat/tax_region_setting.rb in octobat-2.0.19

- old
+ new

@@ -2,16 +2,16 @@ class TaxRegionSetting < APIResource extend Octobat::APIOperations::List include Octobat::APIOperations::Update include Octobat::APIOperations::Create - def activate - response, api_key = Octobat.request(:patch, activate_url, @api_key) + def activate(params = {}, opts = {}) + response, api_key = Octobat.request(:patch, activate_url, @api_key, params, opts) refresh_from(response, api_key) end - def unactivate - response, api_key = Octobat.request(:patch, unactivate_url, @api_key) + def unactivate(params = {}, opts = {}) + response, api_key = Octobat.request(:patch, unactivate_url, @api_key, params, opts) refresh_from(response, api_key) end private