lib/octobat/invoice_numbering_sequence.rb in octobat-2.0.18 vs lib/octobat/invoice_numbering_sequence.rb in octobat-2.0.19
- old
+ new
@@ -2,11 +2,11 @@
class InvoiceNumberingSequence < APIResource
extend Octobat::APIOperations::List
include Octobat::APIOperations::Create
include Octobat::APIOperations::Update
- def set_to_default
- response, api_key = Octobat.request(:patch, set_to_default_url, @api_key)
+ def set_to_default(params = {}, opts = {})
+ response, api_key = Octobat.request(:patch, set_to_default_url, @api_key, params, opts)
refresh_from(response, api_key)
end
private