Sha256: 7ae99b12a8deb84d29cee898aaca13661cf8a42dc8b0c36cb71f0a9d83190dc2

Contents?: true

Size: 485 Bytes

Versions: 11

Compression:

Stored size: 485 Bytes

Contents

class Kaui::Tag < KillBillClient::Model::Tag

  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

  def is_system_tag?
    Kaui::TagDefinition(:id => tag_definition_id).is_system_tag?
  end

  def <=>(tag)
    tag_definition_name.downcase <=> tag.tag_definition_name.downcase
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kaui-0.11.0 app/models/kaui/tag.rb
kaui-0.10.0 app/models/kaui/tag.rb
kaui-0.9.0 app/models/kaui/tag.rb
kaui-0.8.4 app/models/kaui/tag.rb
kaui-0.8.3 app/models/kaui/tag.rb
kaui-0.8.2 app/models/kaui/tag.rb
kaui-0.8.1 app/models/kaui/tag.rb
kaui-0.8.0 app/models/kaui/tag.rb
kaui-0.7.2 app/models/kaui/tag.rb
kaui-0.7.1 app/models/kaui/tag.rb
kaui-0.7.0 app/models/kaui/tag.rb