Sha256: 0d14200df0edd8fd1a8f01ab9f067e2c567202c8d7c13b1dd1fd78c1b7936d1d

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Kaui
  class CustomField < KillBillClient::Model::CustomField
    def self.list_or_search(search_key = nil, offset = 0, limit = 10, options = {})
      if search_key.present?
        find_in_batches_by_search_key(search_key, offset, limit, options)
      else
        find_in_batches(offset, limit, options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaui-3.0.2 app/models/kaui/custom_field.rb
kaui-2.2.1 app/models/kaui/custom_field.rb
kaui-3.0.1 app/models/kaui/custom_field.rb