Skip to content

Commit

Permalink
Merge pull request #100 from tungleduyxyz/issue_89_sync_killbill_cust…
Browse files Browse the repository at this point in the history
…omfields_apis

Issue 89 Add audit to batch API
  • Loading branch information
tungleduyxyz authored Mar 25, 2024
2 parents d112d98 + a5c1ba4 commit 6b1a563
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/killbill_client/models/custom_field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ class CustomField < CustomFieldAttributes
has_audit_logs_with_history KILLBILL_API_CUSTOM_FIELDS_PREFIX, :custom_field_id

class << self
def find_in_batches(offset = 0, limit = 100, options = {})
def find_in_batches(offset = 0, limit = 100, audit = 'NONE', options = {})
get "#{KILLBILL_API_CUSTOM_FIELDS_PREFIX}/#{Resource::KILLBILL_API_PAGINATION_PREFIX}",
{
:offset => offset,
:limit => limit
:limit => limit,
:audit => audit
},
options
end
Expand Down

0 comments on commit 6b1a563

Please sign in to comment.